Enabled a test for NullPredicate

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1540862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Bourg 2013-11-11 22:06:50 +00:00
parent 0f5b35aa8d
commit b34856498e
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ public class NullPredicateTest extends AbstractPredicateTest {
assertTrue(nullPredicate(), null); assertTrue(nullPredicate(), null);
} }
@Test
public void ensurePredicateCanBeTypedWithoutWarning() throws Exception { public void ensurePredicateCanBeTypedWithoutWarning() throws Exception {
final Predicate<String> predicate = NullPredicate.nullPredicate(); final Predicate<String> predicate = NullPredicate.nullPredicate();
assertFalse(predicate, cString); assertFalse(predicate, cString);