We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71f327d commit ef4e8d6Copy full SHA for ef4e8d6
src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java
@@ -36,7 +36,6 @@
36
import java.util.Set;
37
import java.util.stream.Collectors;
38
39
-import org.assertj.core.api.SoftAssertions;
40
import org.junit.jupiter.api.Test;
41
import org.reactivestreams.Publisher;
42
@@ -396,12 +395,8 @@ void nestedConversion() throws Exception {
396
395
397
assertThat(result).isInstanceOfSatisfying(List.class, list -> {
398
399
- SoftAssertions.assertSoftly(s -> {
400
-
401
- // for making the test failure more obvious:
402
- s.assertThat(list).allMatch(it -> Integer.class.isInstance(it));
403
- s.assertThat(list).containsExactly(0, 1);
404
- });
+ // for making the test failure more obvious:
+ assertThat(list).allMatch(Integer.class::isInstance).containsExactly(0, 1);
405
});
406
}
407
0 commit comments