diff --git a/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java b/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java index 9fb2bee647..92898d9ba2 100644 --- a/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java +++ b/core-java/src/test/java/com/baeldung/java8/Java8FindAnyFindFirstTest.java @@ -24,7 +24,7 @@ public class Java8FindAnyFindFirstTest { } @Test - public void createParallelStream_whenFindAnyResultIsNotFirst_ThenCorrect() throws Exception { + public void createParallelStream_whenFindAnyResultIsPresent_ThenCorrect() throws Exception { List list = Arrays.asList(1,2,3,4,5); Optional result = list .stream()