Package org.fest.assertions.condition
Class AllOf<T>
java.lang.Object
org.fest.assertions.core.Condition<T>
org.fest.assertions.condition.Join<T>
org.fest.assertions.condition.AllOf<T>
- Type Parameters:
T
- the type of object this condition accepts.
- All Implemented Interfaces:
Descriptable<Condition<T>>
Returns
true
if all of the joined conditions is satisfied.- Author:
- Yvonne Wang, Mikhail Mazursky
-
Method Summary
Methods inherited from class org.fest.assertions.condition.Join
conditions
Methods inherited from class org.fest.assertions.core.Condition
as, as, describedAs, describedAs, description
-
Method Details
-
allOf
Creates a newAllOf
- Type Parameters:
T
- the type of object the given condition accept.- Parameters:
conditions
- the conditions to evaluate.- Returns:
- the created
AnyOf
. - Throws:
NullPointerException
- if the given array isnull
.NullPointerException
- if any of the elements in the given array isnull
.
-
allOf
Creates a newAllOf
- Type Parameters:
T
- the type of object the given condition accept.- Parameters:
conditions
- the conditions to evaluate.- Returns:
- the created
AnyOf
. - Throws:
NullPointerException
- if the given iterable isnull
.NullPointerException
- if any of the elements in the given iterable isnull
.
-
matches
Verifies that the given value satisfies this condition. -
toString
-