BAEL-2184 sorted test not include deep copy
This commit is contained in:
parent
7538a4b534
commit
ee1b2cb40b
|
@ -75,7 +75,6 @@ public class FooUnitTest {
|
||||||
@Test
|
@Test
|
||||||
public void whenUsingSortedStream_thenVerifySortOrder() {
|
public void whenUsingSortedStream_thenVerifySortOrder() {
|
||||||
ArrayList<Foo> newList = srcCollection.stream()
|
ArrayList<Foo> newList = srcCollection.stream()
|
||||||
.map(foo -> foo.deepCopy())
|
|
||||||
.sorted(Comparator.comparing(Foo::getName))
|
.sorted(Comparator.comparing(Foo::getName))
|
||||||
.collect(toCollection(ArrayList::new));
|
.collect(toCollection(ArrayList::new));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue