Package org.assertj.core.internal
Class Predicates
java.lang.Object
org.assertj.core.internal.Predicates
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
assertIsNotNull
(Predicate<?> predicate) Asserts the given
is not null.Predicate
static Predicates
instance()
Returns the singleton instance of this class.
-
Field Details
-
INSTANCE
-
failures
Failures failures
-
-
Constructor Details
-
Predicates
Predicates()
-
-
Method Details
-
instance
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
assertIsNotNull
Asserts the given
is not null.Predicate
- Parameters:
predicate
- the givenPredicate
.- Throws:
NullPointerException
- if the givenPredicate
isnull
.
-