public class Predicates extends Object
Modifier and Type | Method and Description |
---|---|
void |
assertIsNotNull(Predicate<?> predicate)
Asserts the given
is not null. |
static Predicates |
instance()
Returns the singleton instance of this class.
|
public static Predicates instance()
public void assertIsNotNull(Predicate<?> predicate)
Predicate
is not null.predicate
- the given Predicate
.NullPointerException
- if the given Predicate
is null
.Copyright © 2014–2019 AssertJ. All rights reserved.