Package org.assertj.core.internal
Class Predicates
- java.lang.Object
-
- org.assertj.core.internal.Predicates
-
public class Predicates extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertIsNotNull(Predicate<?> predicate)
Asserts the the given
is not null.Predicate
static Predicates
instance()
Returns the singleton instance of this class.
-
-
-
Method Detail
-
instance
public static Predicates instance()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
assertIsNotNull
public void assertIsNotNull(Predicate<?> predicate)
Asserts the the given
is not null.Predicate
- Parameters:
predicate
- the givenPredicate
.- Throws:
NullPointerException
- if the givenPredicate
isnull
.
-
-