change test names, bael-667 (#1581)

* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

* modify test method names
This commit is contained in:
gitterjim-I 2017-04-03 23:30:45 +01:00 committed by Zeger Hendrikse
parent e7cc45644e
commit 2a76b9c656
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public class FlattenNestedListTest {
List<List<String>> lol = asList(asList("one:one"), asList("two:one", "two:two", "two:three"), asList("three:one", "three:two", "three:three", "three:four"));
@Test
public void givenString_flattenNestedList1() {
public void givenNestedList_thenFlattenNestedListImperative() {
List<String> ls = flattenListOfListsImperatively(lol);
assertNotNull(ls);
@ -27,7 +27,7 @@ public class FlattenNestedListTest {
}
@Test
public void givenString_flattenNestedList2() {
public void givenNestedList_thenFlattenNestedListStream() {
List<String> ls = flattenListOfListsStream(lol);
assertNotNull(ls);