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 voidassertIsNotNull(Predicate<?> predicate)Asserts the the givenis not null.Predicatestatic Predicatesinstance()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 givenis not null.Predicate- Parameters:
predicate- the givenPredicate.- Throws:
NullPointerException- if the givenPredicateisnull.
-
-