[COLLECTIONS-738]: Remove the redundant assertNull in IterableUtilsTest.find.
This commit is contained in:
parent
be28c1d647
commit
33428eb9eb
|
@ -274,7 +274,7 @@ public class IterableUtilsTest {
|
||||||
assertTrue(test == null);
|
assertTrue(test == null);
|
||||||
assertNull(IterableUtils.find(null,testPredicate));
|
assertNull(IterableUtils.find(null,testPredicate));
|
||||||
try {
|
try {
|
||||||
assertNull(IterableUtils.find(iterableA, null));
|
IterableUtils.find(iterableA, null);
|
||||||
fail("expecting NullPointerException");
|
fail("expecting NullPointerException");
|
||||||
} catch (final NullPointerException npe) {
|
} catch (final NullPointerException npe) {
|
||||||
// expected
|
// expected
|
||||||
|
|
Loading…
Reference in New Issue