Uses of Class
org.assertj.core.api.Condition
-
Packages that use Condition Package Description org.assertj.core.api org.assertj.core.api.filter org.assertj.core.condition org.assertj.core.error -
-
Uses of Condition in org.assertj.core.api
Subclasses of Condition in org.assertj.core.api Modifier and Type Class Description class
HamcrestCondition<T>
Allows to use a Hamcrest matcher as a condition.Methods in org.assertj.core.api that return Condition Modifier and Type Method Description static <T> Condition<T>
Assertions. allOf(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>
AssertionsForClassTypes. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
AssertionsForClassTypes. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
BDDAssertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
BDDAssertions. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
Java6Assertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Deprecated.Creates a newAllOf
static <T> Condition<T>
Java6Assertions. allOf(Condition<? super T>... conditions)
Deprecated.Creates a newAllOf
default <T> Condition<T>
WithAssertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
default <T> Condition<T>
WithAssertions. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
Assertions. anyOf(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 AssertJ features (but you can useAnyOf
if you prefer).static <T> Condition<T>
AssertionsForClassTypes. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
AssertionsForClassTypes. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).static <T> Condition<T>
BDDAssertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
BDDAssertions. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).static <T> Condition<T>
Java6Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Deprecated.Creates a newAnyOf
static <T> Condition<T>
Java6Assertions. anyOf(Condition<? super T>... conditions)
Deprecated.Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).default <T> Condition<T>
WithAssertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
default <T> Condition<T>
WithAssertions. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).Condition<T>
Condition. describedAs(Description newDescription)
Sets the description of the assertion that is going to be called after.Methods in org.assertj.core.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>
AssertionsForClassTypes. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
BDDAssertions. allOf(Condition<? super T>... conditions)
Creates a newAllOf
static <T> Condition<T>
Java6Assertions. allOf(Condition<? super T>... conditions)
Deprecated.Creates a newAllOf
default <T> Condition<T>
WithAssertions. 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 AssertJ features (but you can useAnyOf
if you prefer).static <T> Condition<T>
AssertionsForClassTypes. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).static <T> Condition<T>
BDDAssertions. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).static <T> Condition<T>
Java6Assertions. anyOf(Condition<? super T>... conditions)
Deprecated.Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).default <T> Condition<T>
WithAssertions. anyOf(Condition<? super T>... conditions)
Only delegate toAnyOf.anyOf(Condition...)
so that Assertions offers a full feature entry point to all AssertJ features (but you can useAnyOf
if you prefer).SELF
AbstractIterableAssert. are(Condition<? super ELEMENT> condition)
Verifies that each element value satisfies the given condition.SELF
AbstractObjectArrayAssert. are(Condition<? super ELEMENT> condition)
Verifies that each element value satisfies the given conditionAtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. are(Condition<? super T> condition)
Verifies that each element value satisfies the given conditionSELF
ObjectEnumerableAssert. are(Condition<? super ELEMENT> condition)
Verifies that each element value satisfies the given condition.SELF
AbstractIterableAssert. areAtLeast(int times, Condition<? super ELEMENT> condition)
Verifies that there are at least n elements in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. areAtLeast(int times, Condition<? super ELEMENT> condition)
Verifies that there are at least n elements in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. areAtLeast(int times, Condition<? super T> condition)
Verifies that there are at least n elements in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. areAtLeast(int n, Condition<? super ELEMENT> condition)
Verifies that there are at least n elements in the actual group satisfying the given condition.SELF
AbstractIterableAssert. areAtLeastOne(Condition<? super ELEMENT> condition)
Verifies that there is at least one element in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. areAtLeastOne(Condition<? super ELEMENT> condition)
Verifies that there is at least one element in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. areAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. areAtLeastOne(Condition<? super ELEMENT> condition)
Verifies that there is at least one element in the actual group satisfying the given condition.SELF
AbstractIterableAssert. areAtMost(int times, Condition<? super ELEMENT> condition)
Verifies that there are at most n elements in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. areAtMost(int times, Condition<? super ELEMENT> condition)
Verifies that there are at most n elements in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. areAtMost(int times, Condition<? super T> condition)
Verifies that there are at most n elements in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. areAtMost(int n, Condition<? super ELEMENT> condition)
Verifies that there are at most n elements in the actual group satisfying the given condition.SELF
AbstractIterableAssert. areExactly(int times, Condition<? super ELEMENT> condition)
Verifies that there are exactly n elements in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. areExactly(int times, Condition<? super ELEMENT> condition)
Verifies that there are exactly n elements in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. areExactly(int times, Condition<? super T> condition)
Verifies that there are exactly n elements in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. areExactly(int n, Condition<? super ELEMENT> condition)
Verifies that there are exactly n elements in the actual group satisfying the given condition.SELF
AbstractIterableAssert. areNot(Condition<? super ELEMENT> condition)
Verifies that each element value does not satisfy the given condition.SELF
AbstractObjectArrayAssert. areNot(Condition<? super ELEMENT> condition)
Verifies that each element value does not satisfy the given conditionAtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. areNot(Condition<? super T> condition)
Verifies that each element value does not satisfy the given conditionSELF
ObjectEnumerableAssert. areNot(Condition<? super ELEMENT> condition)
Verifies that each element value does not satisfy the given condition.SELF
AbstractAssert. doesNotHave(Condition<? super ACTUAL> condition)
Verifies that the actual value does not satisfy the given condition.SELF
AbstractIterableAssert. doesNotHave(Condition<? super ACTUAL> condition)
SELF
AbstractListAssert. doesNotHave(Condition<? super ACTUAL> condition)
SELF
AbstractMapAssert. doesNotHave(Condition<? super ACTUAL> condition)
static <T> DoesNotHave<T>
Assertions. doesNotHave(Condition<? super T> condition)
Creates a new
.DoesNotHave
static <T> DoesNotHave<T>
AssertionsForClassTypes. doesNotHave(Condition<? super T> condition)
Creates a new
.DoesNotHave
static <T> DoesNotHave<T>
BDDAssertions. doesNotHave(Condition<? super T> condition)
Creates a new
.DoesNotHave
SELF
ExtensionPoints. doesNotHave(Condition<? super ACTUAL> condition)
Verifies that the actual value does not satisfy the given condition.static <T> DoesNotHave<T>
Java6Assertions. doesNotHave(Condition<? super T> condition)
Deprecated.Creates a new
.DoesNotHave
default <T> DoesNotHave<T>
WithAssertions. doesNotHave(Condition<? super T> condition)
Creates a new
.DoesNotHave
SELF
AbstractIterableAssert. doNotHave(Condition<? super ELEMENT> condition)
Verifies that all elements do not satisfy the given condition.SELF
AbstractObjectArrayAssert. doNotHave(Condition<? super ELEMENT> condition)
Verifies that all elements don't satisfy the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. doNotHave(Condition<? super T> condition)
Verifies that all elements don't satisfy the given condition.SELF
ObjectEnumerableAssert. doNotHave(Condition<? super ELEMENT> condition)
Verifies that all elements do not satisfy the given condition.SELF
AbstractIterableAssert. filteredOn(Condition<? super ELEMENT> condition)
Filters the iterable under test keeping only elements matching the givenCondition
.SELF
AbstractObjectArrayAssert. filteredOn(Condition<? super ELEMENT> condition)
Filter the array under test into a list composed of the elements matching the givenCondition
, allowing to perform assertions on the filtered list.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. filteredOn(Condition<? super T> condition)
Filter the array under test keeping only elements matching the givenCondition
.SELF
AbstractAssert. has(Condition<? super ACTUAL> condition)
Verifies that the actual value satisfies the given condition.SELF
AbstractIterableAssert. has(Condition<? super ACTUAL> condition)
SELF
AbstractListAssert. has(Condition<? super ACTUAL> condition)
SELF
AbstractListAssert. has(Condition<? super ELEMENT> condition, Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.SELF
AbstractMapAssert. has(Condition<? super ACTUAL> condition)
SELF
ExtensionPoints. has(Condition<? super ACTUAL> condition)
Verifies that the actual value satisfies the given condition.SELF
AbstractMapAssert. hasEntrySatisfying(K key, Condition<? super V> valueCondition)
Verifies that the actual map contains a value for the givenkey
that satisfies the givenvalueCondition
.SELF
AbstractMapAssert. hasEntrySatisfying(Condition<? super Map.Entry<K,V>> entryCondition)
Verifies that the actual map contains an entry satisfying the givenentryCondition
.SELF
AbstractMapAssert. hasEntrySatisfying(Condition<? super K> keyCondition, Condition<? super V> valueCondition)
Verifies that the actual map contains an entry with a key satisfying the givenkeyCondition
and a value satisfying the givenvalueCondition
.SELF
AbstractMapAssert. hasKeySatisfying(Condition<? super K> keyCondition)
Verifies that the actual map contains an entry with a key satisfying the givenkeyCondition
.SELF
AbstractMapAssert. hasValueSatisfying(Condition<? super V> valueCondition)
Verifies that the actual map contains an entry with a value satisfying the givenvalueCondition
.SELF
AbstractOptionalAssert. hasValueSatisfying(Condition<? super VALUE> condition)
SELF
AbstractIterableAssert. have(Condition<? super ELEMENT> condition)
Verifies that all elements satisfy the given condition.SELF
AbstractObjectArrayAssert. have(Condition<? super ELEMENT> condition)
Verifies that all elements satisfy the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. have(Condition<? super T> condition)
Verifies that all elements satisfy the given condition.SELF
ObjectEnumerableAssert. have(Condition<? super ELEMENT> condition)
Verifies that all elements satisfy the given condition.SELF
AbstractIterableAssert. haveAtLeast(int times, Condition<? super ELEMENT> condition)
Verifies that there are at least n elements in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. haveAtLeast(int times, Condition<? super ELEMENT> condition)
Verifies that there are at least n elements in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. haveAtLeast(int times, Condition<? super T> condition)
Verifies that there are at least n elements in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. haveAtLeast(int n, Condition<? super ELEMENT> condition)
Verifies that there are at least n elements in the actual group satisfying the given condition.SELF
AbstractIterableAssert. haveAtLeastOne(Condition<? super ELEMENT> condition)
Verifies that there is at least one element in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. haveAtLeastOne(Condition<? super ELEMENT> condition)
Verifies that there is at least one element in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. haveAtLeastOne(Condition<? super T> condition)
Verifies that there is at least one element in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. haveAtLeastOne(Condition<? super ELEMENT> condition)
Verifies that there is at least one element in the actual group satisfying the given condition.SELF
AbstractIterableAssert. haveAtMost(int times, Condition<? super ELEMENT> condition)
Verifies that there are at most n elements in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. haveAtMost(int times, Condition<? super ELEMENT> condition)
Verifies that there are at most n elements in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. haveAtMost(int times, Condition<? super T> condition)
Verifies that there are at most n elements in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. haveAtMost(int n, Condition<? super ELEMENT> condition)
Verifies that there are at most n elements in the actual group satisfying the given condition.SELF
AbstractIterableAssert. haveExactly(int times, Condition<? super ELEMENT> condition)
Verifies that there are exactly n elements in the actual group satisfying the given condition.SELF
AbstractObjectArrayAssert. haveExactly(int times, Condition<? super ELEMENT> condition)
Verifies that there are exactly n elements in the actual array satisfying the given condition.AtomicReferenceArrayAssert<T>
AtomicReferenceArrayAssert. haveExactly(int times, Condition<? super T> condition)
Verifies that there are exactly n elements in the actual AtomicReferenceArray satisfying the given condition.SELF
ObjectEnumerableAssert. haveExactly(int n, Condition<? super ELEMENT> condition)
Verifies that there are exactly n elements in the actual group satisfying the given condition.SELF
AbstractAssert. is(Condition<? super ACTUAL> condition)
Verifies that the actual value satisfies the given condition.SELF
AbstractIterableAssert. is(Condition<? super ACTUAL> condition)
SELF
AbstractListAssert. is(Condition<? super ACTUAL> condition)
SELF
AbstractListAssert. is(Condition<? super ELEMENT> condition, Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.SELF
AbstractMapAssert. is(Condition<? super ACTUAL> condition)
SELF
ExtensionPoints. is(Condition<? super ACTUAL> condition)
Verifies that the actual value satisfies the given condition.SELF
AbstractAssert. isNot(Condition<? super ACTUAL> condition)
Verifies that the actual value does not satisfy the given condition.SELF
AbstractIterableAssert. isNot(Condition<? super ACTUAL> condition)
SELF
AbstractListAssert. isNot(Condition<? super ACTUAL> condition)
SELF
AbstractMapAssert. isNot(Condition<? super ACTUAL> condition)
SELF
ExtensionPoints. isNot(Condition<? super ACTUAL> condition)
Verifies that the actual value does not satisfy the given condition.static <T> Not<T>
Assertions. not(Condition<? super T> condition)
Creates a new
.Not
static <T> Not<T>
AssertionsForClassTypes. not(Condition<? super T> condition)
Creates a new
.Not
static <T> Not<T>
BDDAssertions. not(Condition<? super T> condition)
Creates a new
.Not
static <T> Not<T>
Java6Assertions. not(Condition<? super T> condition)
Deprecated.Creates a new
.Not
default <T> Not<T>
WithAssertions. not(Condition<? super T> condition)
Creates a new
.Not
SELF
AbstractAssert. satisfies(Condition<? super ACTUAL> condition)
Verifies that the actual value satisfies the given condition.SELF
ExtensionPoints. satisfies(Condition<? super ACTUAL> condition)
Verifies that the actual value satisfies the given condition.Method parameters in org.assertj.core.api with type arguments of type Condition Modifier and Type Method Description static <T> Condition<T>
Assertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
AssertionsForClassTypes. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
BDDAssertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
Java6Assertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Deprecated.Creates a newAllOf
default <T> Condition<T>
WithAssertions. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
AssertionsForClassTypes. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
BDDAssertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
static <T> Condition<T>
Java6Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Deprecated.Creates a newAnyOf
default <T> Condition<T>
WithAssertions. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
-
Uses of Condition in org.assertj.core.api.filter
Methods in org.assertj.core.api.filter with parameters of type Condition Modifier and Type Method Description private Filters<E>
Filters. applyFilterCondition(Condition<? super E> condition)
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.assertj.core.condition
Subclasses of Condition in org.assertj.core.condition Modifier and Type Class Description class
AllOf<T>
Returnstrue
if all of the joined conditions are 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
MappedCondition<FROM,TO>
class
Negative<T>
Inverse the condition.class
Not<T>
Returnstrue
if the condition is not satisfied.class
VerboseCondition<T>
Condition
that shows the value under test when the condition fails thanks to the specifiedobjectUnderTestDescriptor
function.Fields in org.assertj.core.condition declared as Condition Modifier and Type Field Description private Condition<TO>
MappedCondition. condition
(package private) Condition<? super T>
Negative. condition
Fields in org.assertj.core.condition with type parameters of type Condition Modifier and Type Field Description (package private) Collection<Condition<? super T>>
Join. conditions
Methods in org.assertj.core.condition that return Condition Modifier and Type Method Description static <T> Condition<T>
AllOf. allOf(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(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.assertj.core.condition that return types with arguments of type Condition Modifier and Type Method Description Collection<Condition<? super T>>
Join. conditions()
Returns the conditions to join.Methods in org.assertj.core.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 new
.DoesNotHave
static <FROM,TO>
MappedCondition<FROM,TO>MappedCondition. mappedCondition(Function<FROM,TO> mapping, Condition<TO> condition)
Creates a newMappedCondition
static <FROM,TO>
MappedCondition<FROM,TO>MappedCondition. mappedCondition(Function<FROM,TO> mapping, Condition<TO> condition, String mappingDescription, Object... args)
Creates a new
.MappedCondition
static <T> Not<T>
Not. not(Condition<? super T> condition)
Creates a new
.Not
Method parameters in org.assertj.core.condition with type arguments of type Condition Modifier and Type Method Description static <T> Condition<T>
AllOf. allOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAllOf
static <T> Condition<T>
AnyOf. anyOf(Iterable<? extends Condition<? super T>> conditions)
Creates a newAnyOf
Constructors in org.assertj.core.condition with parameters of type Condition Constructor Description AllOf(Condition<? super T>... conditions)
AnyOf(Condition<? super T>... conditions)
DoesNotHave(Condition<? super T> condition)
Join(Condition<? super T>... conditions)
Creates a new
.Join
MappedCondition(Function<FROM,TO> mapping, Condition<TO> condition, String mappingDescription)
Negative(Condition<? super T> condition)
Not(Condition<? super T> condition)
Constructor parameters in org.assertj.core.condition with type arguments of type Condition Constructor Description AllOf(Iterable<? extends Condition<? super T>> conditions)
AnyOf(Iterable<? extends Condition<? super T>> conditions)
Join(Iterable<? extends Condition<? super T>> conditions)
Creates a new
.Join
Join(Stream<? extends Condition<? super T>> stream)
-
Uses of Condition in org.assertj.core.error
Methods in org.assertj.core.error with parameters of type Condition Modifier and Type Method Description static ErrorMessageFactory
ElementsShouldBe. elementsShouldBe(Object actual, Object notSatisfies, Condition<?> condition)
Creates a new
.ElementsShouldBe
static ErrorMessageFactory
ElementsShouldBeAtLeast. elementsShouldBeAtLeast(Object actual, int times, Condition<?> condition)
Creates a new
.ElementsShouldBeAtLeast
static ErrorMessageFactory
ElementsShouldBeAtMost. elementsShouldBeAtMost(Object actual, int times, Condition<?> condition)
Creates a new
.ElementsShouldBeAtMost
static ErrorMessageFactory
ElementsShouldBeExactly. elementsShouldBeExactly(Object actual, int times, Condition<?> condition)
Creates a new
.ElementsShouldBeExactly
static ErrorMessageFactory
ElementsShouldHave. elementsShouldHave(Object actual, Object notSatisfies, Condition<?> condition)
Creates a new
.ElementsShouldHave
static ErrorMessageFactory
ElementsShouldHaveAtLeast. elementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition)
Creates a new
.ElementsShouldHaveAtLeast
static ErrorMessageFactory
ElementsShouldHaveAtMost. elementsShouldHaveAtMost(Object actual, int times, Condition<?> condition)
Creates a new
.ElementsShouldHaveAtMost
static ErrorMessageFactory
ElementsShouldHaveExactly. elementsShouldHaveExactly(Object actual, int times, Condition<?> condition)
Creates a new
.ElementsShouldHaveExactly
static ErrorMessageFactory
ElementsShouldNotBe. elementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)
Creates a new
.ElementsShouldNotBe
static ErrorMessageFactory
ElementsShouldNotHave. elementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition)
Creates a new
.ElementsShouldNotHave
static <T> ErrorMessageFactory
ShouldBe. shouldBe(T actual, Condition<? super T> condition)
Creates a new
.ShouldBe
static <T> ErrorMessageFactory
ShouldBeAtIndex. shouldBeAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)
Creates a new
.ShouldBeAtIndex
static ErrorMessageFactory
ConditionAndGroupGenericParameterTypeShouldBeTheSame. shouldBeSameGenericBetweenIterableAndCondition(Object actual, Condition<?> condition)
Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSame
static <K,V>
ErrorMessageFactoryShouldContainEntry. shouldContainEntry(Map<K,V> actual, Condition<?> entryCondition)
Creates a new
.ShouldContainEntry
static <K,V>
ErrorMessageFactoryShouldContainEntry. shouldContainEntry(Map<K,V> actual, Condition<? super K> keyCondition, Condition<? super V> valueCondition)
Creates a new
.ShouldContainEntry
static ErrorMessageFactory
ShouldContainKey. shouldContainKey(Object actual, Condition<?> keyCondition)
Creates a new
.ShouldContainKey
static ErrorMessageFactory
ShouldContainValue. shouldContainValue(Object actual, Condition<?> valueCondition)
Creates a new
.ShouldContainValue
static <T> ErrorMessageFactory
ShouldHave. shouldHave(T actual, Condition<? super T> condition)
Creates a new
.ShouldHave
static <T> ErrorMessageFactory
ShouldHaveAtIndex. shouldHaveAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)
Creates a new
.ShouldHaveAtIndex
static <T> ErrorMessageFactory
ShouldNotBe. shouldNotBe(T actual, Condition<? super T> condition)
Creates a new
.ShouldNotBe
static <T> ErrorMessageFactory
ShouldNotHave. shouldNotHave(T actual, Condition<? super T> condition)
Creates a new
.ShouldNotHave
static <T> ErrorMessageFactory
ShouldSatisfy. shouldSatisfy(T actual, Condition<? super T> condition)
Constructors in org.assertj.core.error with parameters of type Condition Constructor Description ConditionAndGroupGenericParameterTypeShouldBeTheSame(Object actual, Condition<?> condition)
ElementsShouldBe(Object actual, Object notSatisfies, Condition<?> condition)
ElementsShouldBeAtLeast(Object actual, int times, Condition<?> condition)
ElementsShouldBeAtMost(Object actual, int times, Condition<?> condition)
ElementsShouldBeExactly(Object actual, int times, Condition<?> condition)
ElementsShouldHave(Object actual, Object notSatisfies, Condition<?> condition)
ElementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition)
ElementsShouldHaveAtMost(Object actual, int times, Condition<?> condition)
ElementsShouldHaveExactly(Object actual, int times, Condition<?> condition)
ElementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)
ElementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition)
ShouldBe(Object actual, Condition<?> condition)
ShouldBeAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)
ShouldContainEntry(Map<K,V> actual, Condition<?> entryCondition)
ShouldContainEntry(Map<K,V> actual, Condition<? super K> keyCondition, Condition<? super V> valueCondition)
ShouldContainKey(Object actual, Condition<?> keyCondition)
ShouldContainValue(Object actual, Condition<?> valueCondition)
ShouldHave(Object actual, Condition<?> condition)
ShouldHaveAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)
ShouldNotBe(Object actual, Condition<?> condition)
ShouldNotHave(Object actual, Condition<?> condition)
ShouldSatisfy(Object actual, Condition<?> condition)
-