Uses of Class
org.fest.assertions.core.Condition
-
Packages that use Condition Package Description org.fest.assertions.api org.fest.assertions.api.filter org.fest.assertions.condition org.fest.assertions.core org.fest.assertions.error org.fest.assertions.internal -
-
Uses of Condition in org.fest.assertions.api
Methods in org.fest.assertions.api that return Condition Modifier and Type Method Description static <T> Condition<T>
Assertions. allOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
Assertions. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
Assertions. anyOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
Assertions. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useAnyOf
if you prefer).Methods in org.fest.assertions.api with parameters of type Condition Modifier and Type Method Description static <T> Condition<T>
Assertions. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
Assertions. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all Fest Assert features (but you can useAnyOf
if you prefer).S
AbstractIterableAssert. are(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionObjectArrayAssert<T>
ObjectArrayAssert. are(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionS
AbstractIterableAssert. areAtLeast(int times, Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition.ObjectArrayAssert<T>
ObjectArrayAssert. areAtLeast(int times, Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition.S
AbstractIterableAssert. areAtMost(int times, Condition<? super T> condition)
Verifies that there is at most n elements in the actual group satisfying the given condition.ObjectArrayAssert<T>
ObjectArrayAssert. areAtMost(int times, Condition<? super T> condition)
Verifies that there is at most n elements in the actual group satisfying the given condition.S
AbstractIterableAssert. areExactly(int times, Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group satisfying the given condition.ObjectArrayAssert<T>
ObjectArrayAssert. areExactly(int times, Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group satisfying the given condition.S
AbstractIterableAssert. areNot(Condition<? super T> condition)
Verifies that each element value not satisfies the given conditionObjectArrayAssert<T>
ObjectArrayAssert. areNot(Condition<? super T> condition)
Verifies that each element value not satisfies the given conditionS
AbstractIterableAssert. areNotAtLeast(int times, Condition<? super T> condition)
Verifies that there is at least n elements in the actual group not satisfying the given condition.ObjectArrayAssert<T>
ObjectArrayAssert. areNotAtLeast(int times, Condition<? super T> condition)
Verifies that there is at least n elements in the actual group not satisfying the given condition.S
AbstractIterableAssert. areNotAtMost(int times, Condition<? super T> condition)
Verifies that there is at most n elements in the actual group not satisfying the given condition.ObjectArrayAssert<T>
ObjectArrayAssert. areNotAtMost(int times, Condition<? super T> condition)
Verifies that there is at most n elements in the actual group not satisfying the given condition.S
AbstractIterableAssert. areNotExactly(int times, Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group not satisfying the given condition.ObjectArrayAssert<T>
ObjectArrayAssert. areNotExactly(int times, Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group not satisfying the given condition.S
AbstractAssert. doesNotHave(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition.static <T> DoesNotHave<T>
Assertions. doesNotHave(Condition<? super T> condition)
Creates a newDoesNotHave
.S
AbstractIterableAssert. doNotHave(Condition<? super T> condition)
Verifies that each element value not satisfies the given conditionObjectArrayAssert<T>
ObjectArrayAssert. doNotHave(Condition<? super T> condition)
Verifies that each element value not satisfies the given conditionS
AbstractIterableAssert. doNotHaveAtLeast(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition)
.ObjectArrayAssert<T>
ObjectArrayAssert. doNotHaveAtLeast(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition)
.S
AbstractIterableAssert. doNotHaveAtMost(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition)
.ObjectArrayAssert<T>
ObjectArrayAssert. doNotHaveAtMost(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition)
.S
AbstractIterableAssert. doNotHaveExactly(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition)
.ObjectArrayAssert<T>
ObjectArrayAssert. doNotHaveExactly(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition)
.S
AbstractAssert. has(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition.ListAssert<T>
ListAssert. has(Condition<? super T> condition, Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.S
AbstractIterableAssert. have(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionObjectArrayAssert<T>
ObjectArrayAssert. have(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionS
AbstractIterableAssert. haveAtLeast(int times, Condition<? super T> condition)
This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition)
.ObjectArrayAssert<T>
ObjectArrayAssert. haveAtLeast(int times, Condition<? super T> condition)
This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition)
.S
AbstractIterableAssert. haveAtMost(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition)
.ObjectArrayAssert<T>
ObjectArrayAssert. haveAtMost(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition)
.S
AbstractIterableAssert. haveExactly(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areExactly(int, Condition)
.ObjectArrayAssert<T>
ObjectArrayAssert. haveExactly(int times, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areExactly(int, Condition)
.S
AbstractAssert. is(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition.ListAssert<T>
ListAssert. is(Condition<? super T> condition, Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.S
AbstractAssert. isNot(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition.static <T> Not<T>
Assertions. not(Condition<? super T> condition)
Creates a newNot
.Method parameters in org.fest.assertions.api with type arguments of type Condition Modifier and Type Method Description static <T> Condition<T>
Assertions. allOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
Assertions. anyOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
-
Uses of Condition in org.fest.assertions.api.filter
Methods in org.fest.assertions.api.filter with parameters of type Condition Modifier and Type Method Description Filters<E>
Filters. being(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the givenCondition
.
Same asFilters.having(Condition)
- pick the method you prefer to have the most readable code.Filters<E>
Filters. having(Condition<? super E> condition)
Filter the underlying group, keeping only elements satisfying the givenCondition
.
Same asFilters.being(Condition)
- pick the method you prefer to have the most readable code. -
Uses of Condition in org.fest.assertions.condition
Subclasses of Condition in org.fest.assertions.condition Modifier and Type Class Description class
AllOf<T>
Returnstrue
if all of the joined conditions is satisfied.class
AnyOf<T>
Returnstrue
if any of the joined conditions is satisfied.class
DoesNotHave<T>
Returnstrue
if the condition is not satisfied.class
Join<T>
Join of two or more
s.Condition
class
Negative<T>
Inverse the condition.class
Not<T>
Returnstrue
if the condition is not satisfied.Methods in org.fest.assertions.condition that return Condition Modifier and Type Method Description static <T> Condition<T>
AllOf. allOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
AllOf. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
AnyOf. anyOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
AnyOf. anyOf(Condition<? super T>... conditions)
Creates a newAnyOf
Methods in org.fest.assertions.condition that return types with arguments of type Condition Modifier and Type Method Description protected java.util.Collection<Condition<? super T>>
Join. conditions()
Returns the conditions to join.Methods in org.fest.assertions.condition with parameters of type Condition Modifier and Type Method Description static <T> Condition<T>
AllOf. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
AnyOf. anyOf(Condition<? super T>... conditions)
Creates a newAnyOf
static <T> DoesNotHave<T>
DoesNotHave. doesNotHave(Condition<? super T> condition)
Creates a newDoesNotHave
.static <T> Not<T>
Not. not(Condition<? super T> condition)
Creates a newNot
.Method parameters in org.fest.assertions.condition with type arguments of type Condition Modifier and Type Method Description static <T> Condition<T>
AllOf. allOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
AnyOf. anyOf(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
Constructors in org.fest.assertions.condition with parameters of type Condition Constructor Description Join(Condition<? super T>... conditions)
Creates a newJoin
.Negative(Condition<? super T> condition)
Constructor parameters in org.fest.assertions.condition with type arguments of type Condition Constructor Description Join(java.lang.Iterable<? extends Condition<? super T>> conditions)
Creates a newJoin
. -
Uses of Condition in org.fest.assertions.core
Methods in org.fest.assertions.core that return Condition Modifier and Type Method Description Condition<T>
Condition. as(java.lang.String newDescription)
Sets the description of this object.Condition<T>
Condition. as(Description newDescription)
Sets the description of this object.Condition<T>
Condition. describedAs(java.lang.String newDescription)
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
Condition<T>
Condition. describedAs(Description newDescription)
Alias for
since "as" is a keyword in Groovy.Descriptable.as(String)
Methods in org.fest.assertions.core with parameters of type Condition Modifier and Type Method Description S
ObjectEnumerableAssert. are(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionS
ObjectEnumerableAssert. areAtLeast(int n, Condition<? super T> condition)
Verifies that there is at least n elements in the actual group satisfying the given condition.S
ObjectEnumerableAssert. areAtMost(int n, Condition<? super T> condition)
Verifies that there is at most n elements in the actual group satisfying the given condition.S
ObjectEnumerableAssert. areExactly(int n, Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group satisfying the given condition.S
ObjectEnumerableAssert. areNot(Condition<? super T> condition)
Verifies that each element value not satisfies the given conditionS
ObjectEnumerableAssert. areNotAtLeast(int n, Condition<? super T> condition)
Verifies that there is at least n elements in the actual group not satisfying the given condition.S
ObjectEnumerableAssert. areNotAtMost(int n, Condition<? super T> condition)
Verifies that there is at most n elements in the actual group not satisfying the given condition.S
ObjectEnumerableAssert. areNotExactly(int n, Condition<? super T> condition)
Verifies that there is exactly n elements in the actual group not satisfying the given condition.S
ExtensionPoints. doesNotHave(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition.S
ObjectEnumerableAssert. doNotHave(Condition<? super T> condition)
Verifies that each element value not satisfies the given conditionS
ObjectEnumerableAssert. doNotHaveAtLeast(int n, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition)
.S
ObjectEnumerableAssert. doNotHaveAtMost(int n, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition)
.S
ObjectEnumerableAssert. doNotHaveExactly(int n, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition)
.S
ExtensionPoints. has(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition.S
ObjectEnumerableAssert. have(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionS
ObjectEnumerableAssert. haveAtLeast(int n, Condition<? super T> condition)
This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition)
.S
ObjectEnumerableAssert. haveAtMost(int n, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition)
.S
ObjectEnumerableAssert. haveExactly(int n, Condition<? super T> condition)
This method is an aliasObjectEnumerableAssert.areExactly(int, Condition)
.S
ExtensionPoints. is(Condition<? super A> condition)
Verifies that the actual value satisfies the given condition.S
ExtensionPoints. isNot(Condition<? super A> condition)
Verifies that the actual value does not satisfy the given condition. -
Uses of Condition in org.fest.assertions.error
Methods in org.fest.assertions.error with parameters of type Condition Modifier and Type Method Description static ErrorMessageFactory
ElementsShouldBe. elementsShouldBe(java.lang.Object actual, java.lang.Object notSatisfies, Condition<?> condition)
Creates a newElementsShouldBe
.static ErrorMessageFactory
ElementsShouldBeAtLeast. elementsShouldBeAtLeast(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldBeAtLeast
.static ErrorMessageFactory
ElementsShouldBeAtMost. elementsShouldBeAtMost(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldBeAtMost
.static ErrorMessageFactory
ElementsShouldBeExactly. elementsShouldBeExactly(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldBeExactly
.static ErrorMessageFactory
ElementsShouldHave. elementsShouldHave(java.lang.Object actual, java.lang.Object notSatisfies, Condition<?> condition)
Creates a newElementsShouldHave
.static ErrorMessageFactory
ElementsShouldHaveAtLeast. elementsShouldHaveAtLeast(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldHaveAtLeast
.static ErrorMessageFactory
ElementsShouldHaveAtMost. elementsShouldHaveAtMost(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldHaveAtMost
.static <E> ErrorMessageFactory
ElementsShouldHaveExactly. elementsShouldHaveExactly(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldHaveExactly
.static ErrorMessageFactory
ElementsShouldNotBe. elementsShouldNotBe(java.lang.Object actual, java.lang.Object satisfies, Condition<?> condition)
Creates a newElementsShouldNotBe
.static ErrorMessageFactory
ElementsShouldNotBeAtLeast. elementsShouldNotBeAtLeast(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldNotBeAtLeast
.static <E> ErrorMessageFactory
ElementsShouldNotBeAtMost. elementsShouldNotBeAtMost(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldNotBeAtMost
.static <E> ErrorMessageFactory
ElementsShouldNotBeExactly. elementsShouldNotBeExactly(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldNotBeExactly
.static ErrorMessageFactory
ElementsShouldNotHave. elementsShouldNotHave(java.lang.Object actual, java.lang.Object notSatisfies, Condition<?> condition)
Creates a newElementsShouldNotHave
.static ErrorMessageFactory
ElementsShouldNotHaveAtLeast. elementsShouldNotHaveAtLeast(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldNotHaveAtLeast
.static <E> ErrorMessageFactory
ElementsShouldNotHaveAtMost. elementsShouldNotHaveAtMost(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldNotHaveAtMost
.static <E> ErrorMessageFactory
ElementsShouldNotHaveExactly. elementsShouldNotHaveExactly(java.lang.Object actual, int times, Condition<?> condition)
Creates a newElementsShouldNotHaveExactly
.static <T> ErrorMessageFactory
ShouldBe. shouldBe(T actual, Condition<? super T> condition)
Creates a newShouldBe
.static <T> ErrorMessageFactory
ShouldBeAtIndex. shouldBeAtIndex(java.util.List<T> actual, Condition<? super T> condition, Index index, T found)
Creates a newShouldBeAtIndex
.static ErrorMessageFactory
ConditionAndGroupGenericParameterTypeShouldBeTheSame. shouldBeSameGenericBetweenIterableAndCondition(java.lang.Object actual, Condition<?> condition)
Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSame
static <T> ErrorMessageFactory
ShouldHave. shouldHave(T actual, Condition<? super T> condition)
Creates a newShouldHave
.static <T> ErrorMessageFactory
ShouldHaveAtIndex. shouldHaveAtIndex(java.util.List<T> actual, Condition<? super T> condition, Index index, T found)
Creates a newShouldHaveAtIndex
.static <T> ErrorMessageFactory
ShouldNotBe. shouldNotBe(T actual, Condition<? super T> condition)
Creates a newShouldNotBe
.static <T> ErrorMessageFactory
ShouldNotHave. shouldNotHave(T actual, Condition<? super T> condition)
Creates a newShouldNotHave
.Constructors in org.fest.assertions.error with parameters of type Condition Constructor Description ConditionAndGroupGenericParameterTypeShouldBeTheSame(java.lang.Object actual, Condition<?> condition)
-
Uses of Condition in org.fest.assertions.internal
Methods in org.fest.assertions.internal with parameters of type Condition Modifier and Type Method Description <E> void
Iterables. assertAre(AssertionInfo info, java.lang.Iterable<? extends E> actual, Condition<? super E> condition)
Assert that each element of givenIterable
satisfies the given condition.<E> void
ObjectArrays. assertAre(AssertionInfo info, E[] actual, Condition<? super E> condition)
Assert that each element of given array satisfies the given condition.<E> void
Iterables. assertAreAtLeast(AssertionInfo info, java.lang.Iterable<? extends E> actual, int n, Condition<? super E> condition)
Assert that there is at least n elements in the actualIterable
satisfying the given condition.<E> void
ObjectArrays. assertAreAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)
Assert that there is at least n array elements satisfying the given condition.<E> void
Iterables. assertAreAtMost(AssertionInfo info, java.lang.Iterable<? extends E> actual, int n, Condition<? super E> condition)
Assert that there is at most n elements in the actualIterable
satisfying the given condition.<E> void
ObjectArrays. assertAreAtMost(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)
Assert that there is at most n array elements satisfying the given condition.<E> void
Iterables. assertAreExactly(AssertionInfo info, java.lang.Iterable<? extends E> actual, int n, Condition<? super E> condition)
Verifies that there is exactly n elements in the actualIterable
satisfying the given condition.<E> void
ObjectArrays. assertAreExactly(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)
Verifies that there is exactly n array elements satisfying the given condition.<E> void
Iterables. assertAreNot(AssertionInfo info, java.lang.Iterable<? extends E> actual, Condition<? super E> condition)
Assert that each element of givenIterable
not satisfies the given condition.<E> void
ObjectArrays. assertAreNot(AssertionInfo info, E[] actual, Condition<? super E> condition)
Assert that each element of given array not satisfies the given condition.<E> void
Iterables. assertAreNotAtLeast(AssertionInfo info, java.lang.Iterable<? extends E> actual, int n, Condition<? super E> condition)
Assert that there is at least n elements in the actualIterable
not satisfying the given condition.<E> void
ObjectArrays. assertAreNotAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)
Assert that there is at least n array elements not satisfying the given condition.<E> void
Iterables. assertAreNotAtMost(AssertionInfo info, java.lang.Iterable<? extends E> actual, int n, Condition<? super E> condition)
Verifies that there is at most n elements in the actualIterable
not satisfying the given condition.<E> void
ObjectArrays. assertAreNotAtMost(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)
Verifies that there is at most n array elements not satisfying the given condition.<E> void
Iterables. assertAreNotExactly(AssertionInfo info, java.lang.Iterable<? extends E> actual, int n, Condition<? super E> condition)
Verifies that there is exactly n elements in the actualIterable
not satisfying the given condition.<E> void
ObjectArrays. assertAreNotExactly(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)
Verifies that there is exactly n elements in the actualIterable
not satisfying the given condition.<T> void
Conditions. assertDoesNotHave(AssertionInfo info, T actual, Condition<? super T> condition)
Asserts that the actual value does not satisfy the given
.Condition
<E> void
Iterables. assertDoNotHave(AssertionInfo info, java.lang.Iterable<? extends E> actual, Condition<? super E> condition)
Assert that each element of givenIterable
not satisfies the given condition.<E> void
ObjectArrays. assertDoNotHave(AssertionInfo info, E[] actual, Condition<? super E> condition)
Assert that each element of given array not satisfies the given condition.<E> void
Iterables. assertDoNotHaveAtLeast(AssertionInfo info, java.lang.Iterable<? extends E> actual, int times, Condition<? super E> condition)
An alias method ofIterables.assertAreNotAtLeast(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
ObjectArrays. assertDoNotHaveAtLeast(AssertionInfo info, E[] actual, int times, Condition<? super E> condition)
An alias method ofObjectArrays.assertAreNotAtLeast(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
Iterables. assertDoNotHaveAtMost(AssertionInfo info, java.lang.Iterable<? extends E> actual, int times, Condition<? super E> condition)
An alias method ofIterables.assertAreNotAtMost(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
ObjectArrays. assertDoNotHaveAtMost(AssertionInfo info, E[] actual, int times, Condition<? super E> condition)
An alias method ofObjectArrays.assertAreNotAtMost(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
Iterables. assertDoNotHaveExactly(AssertionInfo info, java.lang.Iterable<? extends E> actual, int times, Condition<? super E> condition)
An alias method ofIterables.assertAreNotExactly(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
ObjectArrays. assertDoNotHaveExactly(AssertionInfo info, E[] actual, int times, Condition<? super E> condition)
An alias method ofObjectArrays.assertAreNotExactly(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs).<T> void
Conditions. assertHas(AssertionInfo info, T actual, Condition<? super T> condition)
Asserts that the actual value satisfies the given
.Condition
<T> void
Lists. assertHas(AssertionInfo info, java.util.List<T> actual, Condition<? super T> condition, Index index)
Verifies that the givenList
satisfies the given
at the given index.Condition
<E> void
Iterables. assertHave(AssertionInfo info, java.lang.Iterable<? extends E> actual, Condition<? super E> condition)
Assert that each element of givenIterable
satisfies the given condition.<E> void
ObjectArrays. assertHave(AssertionInfo info, E[] actual, Condition<? super E> condition)
Assert that each element of given array satisfies the given condition.<E> void
Iterables. assertHaveAtLeast(AssertionInfo info, java.lang.Iterable<? extends E> actual, int times, Condition<? super E> condition)
An alias method ofIterables.assertAreAtLeast(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
ObjectArrays. assertHaveAtLeast(AssertionInfo info, E[] actual, int times, Condition<? super E> condition)
An alias method ofObjectArrays.assertAreAtLeast(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
Iterables. assertHaveAtMost(AssertionInfo info, java.lang.Iterable<? extends E> actual, int times, Condition<? super E> condition)
An alias method ofIterables.assertAreAtMost(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
ObjectArrays. assertHaveAtMost(AssertionInfo info, E[] actual, int times, Condition<? super E> condition)
An alias method ofObjectArrays.assertAreAtMost(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
Iterables. assertHaveExactly(AssertionInfo info, java.lang.Iterable<? extends E> actual, int times, Condition<? super E> condition)
An alias method ofIterables.assertAreExactly(AssertionInfo, Iterable, int, Condition)
to provide a richer fluent api (same logic, only error message differs).<E> void
ObjectArrays. assertHaveExactly(AssertionInfo info, E[] actual, int times, Condition<? super E> condition)
An alias method ofObjectArrays.assertAreExactly(AssertionInfo, Object[], int, Condition)
to provide a richer fluent api (same logic, only error message differs).<T> void
Conditions. assertIs(AssertionInfo info, T actual, Condition<? super T> condition)
Asserts that the actual value satisfies the given
.Condition
<T> void
Lists. assertIs(AssertionInfo info, java.util.List<T> actual, Condition<? super T> condition, Index index)
Verifies that the givenList
satisfies the given
at the given index.Condition
<T> void
Conditions. assertIsNot(AssertionInfo info, T actual, Condition<? super T> condition)
Asserts that the actual value does not satisfy the given
.Condition
void
Conditions. assertIsNotNull(Condition<?> condition)
Asserts the the given
is not null.Condition
-