Package org.assertj.core.internal
Class Predicates
java.lang.Object
org.assertj.core.internal.Predicates
-
Method Summary
Modifier and TypeMethodDescriptionvoidassertIsNotNull(Predicate<?> predicate) Asserts the givenis not null.Predicatestatic Predicatesinstance()Returns the singleton instance of this class.
-
Method Details
-
instance
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
assertIsNotNull
Asserts the givenis not null.Predicate- Parameters:
predicate- the givenPredicate.- Throws:
NullPointerException- if the givenPredicateisnull.
-