BAEL-583: Corrected naming for parallel stream test case
This commit is contained in:
parent
ff29b0ca05
commit
03902d2507
@ -24,7 +24,7 @@ public class Java8FindAnyFindFirstTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void createParallelStream_whenFindAnyResultIsNotFirst_ThenCorrect() throws Exception {
|
public void createParallelStream_whenFindAnyResultIsPresent_ThenCorrect() throws Exception {
|
||||||
List<Integer> list = Arrays.asList(1,2,3,4,5);
|
List<Integer> list = Arrays.asList(1,2,3,4,5);
|
||||||
Optional<Integer> result = list
|
Optional<Integer> result = list
|
||||||
.stream()
|
.stream()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user