Change test names once more (#1596)
* 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:
parent
806d2d87b7
commit
57fe1fce37
|
@ -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 givenNestedList_thenFlattenNestedListImperative() {
|
||||
public void givenNestedList_thenFlattenImperatively() {
|
||||
List<String> ls = flattenListOfListsImperatively(lol);
|
||||
|
||||
assertNotNull(ls);
|
||||
|
@ -27,7 +27,7 @@ public class FlattenNestedListTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void givenNestedList_thenFlattenNestedListStream() {
|
||||
public void givenNestedList_thenFlattenFunctionally() {
|
||||
List<String> ls = flattenListOfListsStream(lol);
|
||||
|
||||
assertNotNull(ls);
|
||||
|
|
Loading…
Reference in New Issue