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 org.assertj.core.internal -
-
Uses of Condition in org.assertj.core.api
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 newAllOfstatic <T> Condition<T>Assertions. allOf(Condition<? super T>... conditions)Creates a newAllOfstatic <T> Condition<T>AssertionsForClassTypes. allOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAllOfstatic <T> Condition<T>AssertionsForClassTypes. allOf(Condition<? super T>... conditions)Creates a newAllOfstatic <T> Condition<T>Java6Assertions. allOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAllOfstatic <T> Condition<T>Java6Assertions. allOf(Condition<? super T>... conditions)Creates a newAllOfdefault <T> Condition<T>WithAssertions. allOf(Iterable<? extends Condition<? super T>> conditions)Delegate call toAssertions.allOf(Iterable)default <T> Condition<T>WithAssertions. allOf(Condition<? super T>... conditions)Delegate call toAssertions.allOf(Condition[])static <T> Condition<T>Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfstatic <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 useAnyOfif you prefer).static <T> Condition<T>AssertionsForClassTypes. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfstatic <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 useAnyOfif you prefer).static <T> Condition<T>Java6Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfstatic <T> Condition<T>Java6Assertions. 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 useAnyOfif you prefer).default <T> Condition<T>WithAssertions. anyOf(Iterable<? extends Condition<? super T>> conditions)Delegate call toAssertions.anyOf(Iterable)default <T> Condition<T>WithAssertions. anyOf(Condition<? super T>... conditions)Delegate call toAssertions.anyOf(Condition[])Condition<T>Condition. as(String newDescription, Object... args)Sets the description of the assertion that is going to be called after.Condition<T>Condition. as(Description newDescription)Sets the description of the assertion that is going to be called after.Condition<T>Condition. describedAs(String newDescription, Object... args)Sets the description of the assertion that is going to be called after.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 newAllOfstatic <T> Condition<T>AssertionsForClassTypes. allOf(Condition<? super T>... conditions)Creates a newAllOfstatic <T> Condition<T>Java6Assertions. allOf(Condition<? super T>... conditions)Creates a newAllOfdefault <T> Condition<T>WithAssertions. allOf(Condition<? super T>... conditions)Delegate call toAssertions.allOf(Condition[])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 useAnyOfif 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 useAnyOfif you prefer).static <T> Condition<T>Java6Assertions. 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 useAnyOfif you prefer).default <T> Condition<T>WithAssertions. anyOf(Condition<? super T>... conditions)Delegate call toAssertions.anyOf(Condition[])SELFAbstractIterableAssert. are(Condition<? super ELEMENT> condition)Verifies that each element value satisfies the given condition.SELFAbstractObjectArrayAssert. 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 conditionSELFObjectEnumerableAssert. are(Condition<? super ELEMENT> condition)Verifies that each element value satisfies the given condition.SELFAbstractIterableAssert. areAtLeast(int times, Condition<? super ELEMENT> condition)Verifies that there are at least n elements in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. areAtLeast(int times, Condition<? super ELEMENT> condition)Verifies that there are at least n elements in the actual group 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.SELFObjectEnumerableAssert. areAtLeast(int n, Condition<? super ELEMENT> condition)Verifies that there are at least n elements in the actual group satisfying the given condition.SELFAbstractIterableAssert. areAtLeastOne(Condition<? super ELEMENT> condition)Verifies that there is at least one element in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. 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.SELFObjectEnumerableAssert. areAtLeastOne(Condition<? super ELEMENT> condition)Verifies that there is at least one element in the actual group satisfying the given condition.SELFAbstractIterableAssert. areAtMost(int times, Condition<? super ELEMENT> condition)Verifies that there are at most n elements in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. areAtMost(int times, Condition<? super ELEMENT> condition)Verifies that there are at most n elements in the actual group 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.SELFObjectEnumerableAssert. areAtMost(int n, Condition<? super ELEMENT> condition)Verifies that there are at most n elements in the actual group satisfying the given condition.SELFAbstractIterableAssert. areExactly(int times, Condition<? super ELEMENT> condition)Verifies that there are exactly n elements in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. areExactly(int times, Condition<? super ELEMENT> condition)Verifies that there are exactly n elements in the actual group 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.SELFObjectEnumerableAssert. areExactly(int n, Condition<? super ELEMENT> condition)Verifies that there are exactly n elements in the actual group satisfying the given condition.SELFAbstractIterableAssert. areNot(Condition<? super ELEMENT> condition)Verifies that each element value does not satisfy the given condition.SELFAbstractObjectArrayAssert. 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 conditionSELFObjectEnumerableAssert. areNot(Condition<? super ELEMENT> condition)Verifies that each element value does not satisfy the given condition.SELFAbstractAssert. doesNotHave(Condition<? super ACTUAL> condition)Verifies that the actual value does not satisfy the given condition.SELFAbstractIterableAssert. doesNotHave(Condition<? super ACTUAL> condition)SELFAbstractListAssert. doesNotHave(Condition<? super ACTUAL> condition)SELFAbstractMapAssert. doesNotHave(Condition<? super ACTUAL> condition)static <T> DoesNotHave<T>Assertions. doesNotHave(Condition<? super T> condition)Creates a newDoesNotHave.static <T> DoesNotHave<T>AssertionsForClassTypes. doesNotHave(Condition<? super T> condition)Creates a newDoesNotHave.SELFExtensionPoints. 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)Creates a newDoesNotHave.default <T> DoesNotHave<T>WithAssertions. doesNotHave(Condition<? super T> condition)Delegate call toAssertions.doesNotHave(Condition)SELFAbstractIterableAssert. doNotHave(Condition<? super ELEMENT> condition)Verifies that all elements do not satisfy the given condition.SELFAbstractObjectArrayAssert. 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.SELFObjectEnumerableAssert. doNotHave(Condition<? super ELEMENT> condition)Verifies that all elements do not satisfy the given condition.AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>>AbstractIterableAssert. filteredOn(Condition<? super ELEMENT> condition)Filter the iterable under test keeping only elements matching the givenCondition.SELFAbstractObjectArrayAssert. filteredOn(Condition<? super ELEMENT> condition)Filter the array under test keeping only elements matching the givenCondition.AtomicReferenceArrayAssert<T>AtomicReferenceArrayAssert. filteredOn(Condition<? super T> condition)Filter the array under test keeping only elements matching the givenCondition.SELFAbstractAssert. has(Condition<? super ACTUAL> condition)Verifies that the actual value satisfies the given condition.SELFAbstractIterableAssert. has(Condition<? super ACTUAL> condition)SELFAbstractListAssert. has(Condition<? super ACTUAL> condition)SELFAbstractListAssert. has(Condition<? super ELEMENT> condition, Index index)Verifies that the actual object at the given index in the actual group satisfies the given condition.SELFAbstractMapAssert. has(Condition<? super ACTUAL> condition)SELFExtensionPoints. has(Condition<? super ACTUAL> condition)Verifies that the actual value satisfies the given condition.SELFAbstractMapAssert. hasEntrySatisfying(K key, Condition<? super V> valueCondition)Verifies that the actual map contains a value for the givenkeythat satisfies the givenvalueCondition.SELFAbstractMapAssert. hasEntrySatisfying(Condition<? super Map.Entry<K,V>> entryCondition)Verifies that the actual map contains an entry satisfying the givenentryCondition.SELFAbstractMapAssert. hasEntrySatisfying(Condition<? super K> keyCondition, Condition<? super V> valueCondition)Verifies that the actual map contains an entry with a key satisfying the givenkeyConditionand a value satisfying the givenvalueCondition.SELFAbstractMapAssert. hasKeySatisfying(Condition<? super K> keyCondition)Verifies that the actual map contains an entry with a key satisfying the givenkeyCondition.SELFAbstractMapAssert. hasValueSatisfying(Condition<? super V> valueCondition)Verifies that the actual map contains an entry with a value satisfying the givenvalueCondition.SELFAbstractOptionalAssert. hasValueSatisfying(Condition<? super VALUE> condition)SELFAbstractIterableAssert. have(Condition<? super ELEMENT> condition)Verifies that all elements satisfy the given condition.SELFAbstractObjectArrayAssert. 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.SELFObjectEnumerableAssert. have(Condition<? super ELEMENT> condition)Verifies that all elements satisfy the given condition.SELFAbstractIterableAssert. haveAtLeast(int times, Condition<? super ELEMENT> condition)Verifies that there are at least n elements in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. haveAtLeast(int times, Condition<? super ELEMENT> condition)Verifies that there are at least n elements in the actual group 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.SELFObjectEnumerableAssert. haveAtLeast(int n, Condition<? super ELEMENT> condition)Verifies that there are at least n elements in the actual group satisfying the given condition.SELFAbstractIterableAssert. haveAtLeastOne(Condition<? super ELEMENT> condition)Verifies that there is at least one element in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. haveAtLeastOne(Condition<? super ELEMENT> condition)Verifies that there is at least one element in the actual group 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.SELFObjectEnumerableAssert. haveAtLeastOne(Condition<? super ELEMENT> condition)Verifies that there is at least one element in the actual group satisfying the given condition.SELFAbstractIterableAssert. haveAtMost(int times, Condition<? super ELEMENT> condition)Verifies that there are at most n elements in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. haveAtMost(int times, Condition<? super ELEMENT> condition)Verifies that there are at most n elements in the actual group 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.SELFObjectEnumerableAssert. haveAtMost(int n, Condition<? super ELEMENT> condition)Verifies that there are at most n elements in the actual group satisfying the given condition.SELFAbstractIterableAssert. haveExactly(int times, Condition<? super ELEMENT> condition)Verifies that there are exactly n elements in the actual group satisfying the given condition.SELFAbstractObjectArrayAssert. haveExactly(int times, Condition<? super ELEMENT> condition)Verifies that there are exactly n elements in the actual group 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.SELFObjectEnumerableAssert. haveExactly(int n, Condition<? super ELEMENT> condition)Verifies that there are exactly n elements in the actual group satisfying the given condition.SELFAbstractAssert. is(Condition<? super ACTUAL> condition)Verifies that the actual value satisfies the given condition.SELFAbstractIterableAssert. is(Condition<? super ACTUAL> condition)SELFAbstractListAssert. is(Condition<? super ACTUAL> condition)SELFAbstractListAssert. is(Condition<? super ELEMENT> condition, Index index)Verifies that the actual object at the given index in the actual group satisfies the given condition.SELFAbstractMapAssert. is(Condition<? super ACTUAL> condition)SELFExtensionPoints. is(Condition<? super ACTUAL> condition)Verifies that the actual value satisfies the given condition.SELFAbstractAssert. isNot(Condition<? super ACTUAL> condition)Verifies that the actual value does not satisfy the given condition.SELFAbstractIterableAssert. isNot(Condition<? super ACTUAL> condition)SELFAbstractListAssert. isNot(Condition<? super ACTUAL> condition)SELFAbstractMapAssert. isNot(Condition<? super ACTUAL> condition)SELFExtensionPoints. 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 newNot.static <T> Not<T>AssertionsForClassTypes. not(Condition<? super T> condition)Creates a newNot.static <T> Not<T>Java6Assertions. not(Condition<? super T> condition)Creates a newNot.default <T> Not<T>WithAssertions. not(Condition<? super T> condition)Delegate call toAssertions.not(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 newAllOfstatic <T> Condition<T>AssertionsForClassTypes. allOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAllOfstatic <T> Condition<T>Java6Assertions. allOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAllOfdefault <T> Condition<T>WithAssertions. allOf(Iterable<? extends Condition<? super T>> conditions)Delegate call toAssertions.allOf(Iterable)static <T> Condition<T>Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfstatic <T> Condition<T>AssertionsForClassTypes. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfstatic <T> Condition<T>Java6Assertions. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfdefault <T> Condition<T>WithAssertions. anyOf(Iterable<? extends Condition<? super T>> conditions)Delegate call toAssertions.anyOf(Iterable) -
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 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 classAllOf<T>Returnstrueif all of the joined conditions is satisfied.classAnyOf<T>Returnstrueif any of the joined conditions is satisfied.classDoesNotHave<T>Returnstrueif the condition is not satisfied.classJoin<T>Join of two or mores.ConditionclassNegative<T>Inverse the condition.classNot<T>Returnstrueif the condition is not satisfied.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 newAllOfstatic <T> Condition<T>AllOf. allOf(Condition<? super T>... conditions)Creates a newAllOfstatic <T> Condition<T>AnyOf. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfstatic <T> Condition<T>AnyOf. anyOf(Condition<? super T>... conditions)Creates a newAnyOfMethods in org.assertj.core.condition that return types with arguments of type Condition Modifier and Type Method Description protected 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 newAllOfstatic <T> Condition<T>AnyOf. anyOf(Condition<? super T>... conditions)Creates a newAnyOfstatic <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.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 newAllOfstatic <T> Condition<T>AnyOf. anyOf(Iterable<? extends Condition<? super T>> conditions)Creates a newAnyOfConstructors in org.assertj.core.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.assertj.core.condition with type arguments of type Condition Constructor Description Join(Iterable<? extends Condition<? super T>> conditions)Creates a newJoin. -
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 ErrorMessageFactoryElementsShouldBe. elementsShouldBe(Object actual, Object notSatisfies, Condition<?> condition)Creates a newElementsShouldBe.static ErrorMessageFactoryElementsShouldBeAtLeast. elementsShouldBeAtLeast(Object actual, int times, Condition<?> condition)Creates a newElementsShouldBeAtLeast.static ErrorMessageFactoryElementsShouldBeAtMost. elementsShouldBeAtMost(Object actual, int times, Condition<?> condition)Creates a newElementsShouldBeAtMost.static ErrorMessageFactoryElementsShouldBeExactly. elementsShouldBeExactly(Object actual, int times, Condition<?> condition)Creates a newElementsShouldBeExactly.static ErrorMessageFactoryElementsShouldHave. elementsShouldHave(Object actual, Object notSatisfies, Condition<?> condition)Creates a newElementsShouldHave.static ErrorMessageFactoryElementsShouldHaveAtLeast. elementsShouldHaveAtLeast(Object actual, int times, Condition<?> condition)Creates a newElementsShouldHaveAtLeast.static ErrorMessageFactoryElementsShouldHaveAtMost. elementsShouldHaveAtMost(Object actual, int times, Condition<?> condition)Creates a newElementsShouldHaveAtMost.static <E> ErrorMessageFactoryElementsShouldHaveExactly. elementsShouldHaveExactly(Object actual, int times, Condition<?> condition)Creates a newElementsShouldHaveExactly.static ErrorMessageFactoryElementsShouldNotBe. elementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)Creates a newElementsShouldNotBe.static ErrorMessageFactoryElementsShouldNotHave. elementsShouldNotHave(Object actual, Object notSatisfies, Condition<?> condition)Creates a newElementsShouldNotHave.static <T> ErrorMessageFactoryShouldBe. shouldBe(T actual, Condition<? super T> condition)Creates a newShouldBe.static <T> ErrorMessageFactoryShouldBeAtIndex. shouldBeAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)Creates a newShouldBeAtIndex.static ErrorMessageFactoryConditionAndGroupGenericParameterTypeShouldBeTheSame. shouldBeSameGenericBetweenIterableAndCondition(Object actual, Condition<?> condition)Creates a newConditionAndGroupGenericParameterTypeShouldBeTheSamestatic <K,V>
ErrorMessageFactoryShouldContainEntry. shouldContainEntry(Map<K,V> actual, Condition<?> entryCondition)Creates a newShouldContainEntry.static <K,V>
ErrorMessageFactoryShouldContainEntry. shouldContainEntry(Map<K,V> actual, Condition<? super K> keyCondition, Condition<? super V> valueCondition)Creates a newShouldContainEntry.static ErrorMessageFactoryShouldContainKey. shouldContainKey(Object actual, Condition<?> keyCondition)Creates a newShouldContainKey.static ErrorMessageFactoryShouldContainValue. shouldContainValue(Object actual, Condition<?> valueCondition)Creates a newShouldContainValue.static <T> ErrorMessageFactoryShouldHave. shouldHave(T actual, Condition<? super T> condition)Creates a newShouldHave.static <T> ErrorMessageFactoryShouldHaveAtIndex. shouldHaveAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)Creates a newShouldHaveAtIndex.static <T> ErrorMessageFactoryShouldNotBe. shouldNotBe(T actual, Condition<? super T> condition)Creates a newShouldNotBe.static <T> ErrorMessageFactoryShouldNotHave. shouldNotHave(T actual, Condition<? super T> condition)Creates a newShouldNotHave.Constructors in org.assertj.core.error with parameters of type Condition Constructor Description ConditionAndGroupGenericParameterTypeShouldBeTheSame(Object actual, Condition<?> condition) -
Uses of Condition in org.assertj.core.internal
Methods in org.assertj.core.internal with parameters of type Condition Modifier and Type Method Description <E> voidArrays. assertAre(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)<T> voidIterables. assertAre(AssertionInfo info, Iterable<? extends T> actual, Condition<? super T> condition)Assert that each element of givenIterablesatisfies the given condition.<E> voidObjectArrays. assertAre(AssertionInfo info, E[] actual, Condition<? super E> condition)Assert that each element of given array satisfies the given condition.<E> voidArrays. assertAreAtLeast(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)<E> voidIterables. assertAreAtLeast(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition)Assert that there are at least n elements in the actualIterablesatisfying the given condition.<E> voidObjectArrays. assertAreAtLeast(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)Assert that there are at least n array elements satisfying the given condition.<E> voidArrays. assertAreAtMost(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)<E> voidIterables. assertAreAtMost(AssertionInfo info, Iterable<? extends E> actual, int n, Condition<? super E> condition)Assert that there are at most n elements in the actualIterablesatisfying the given condition.<E> voidObjectArrays. assertAreAtMost(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)Assert that there are at most n array elements satisfying the given condition.<E> voidArrays. assertAreExactly(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)<E> voidIterables. assertAreExactly(AssertionInfo info, Iterable<? extends E> actual, int times, Condition<? super E> condition)Verifies that there are exactly n elements in the actualIterablesatisfying the given condition.<E> voidObjectArrays. assertAreExactly(AssertionInfo info, E[] actual, int n, Condition<? super E> condition)Verifies that there are exactly n array elements satisfying the given condition.<E> voidArrays. assertAreNot(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)<E> voidIterables. assertAreNot(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition)Assert that each element of givenIterablenot satisfies the given condition.<E> voidObjectArrays. assertAreNot(AssertionInfo info, E[] actual, Condition<? super E> condition)Assert that each element of given array not satisfies the given condition.<T> voidConditions. assertDoesNotHave(AssertionInfo info, T actual, Condition<? super T> condition)Asserts that the actual value does not satisfy the given.Condition<E> voidIterables. assertDoNotHave(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition)Assert that each element of givenIterablenot satisfies the given condition.<E> voidObjectArrays. assertDoNotHave(AssertionInfo info, E[] actual, Condition<? super E> condition)Assert that each element of given array not satisfies the given condition.<T> voidConditions. assertHas(AssertionInfo info, T actual, Condition<? super T> condition)Asserts that the actual value satisfies the given.Condition<T> voidLists. assertHas(AssertionInfo info, List<? extends T> actual, Condition<? super T> condition, Index index)Verifies that the givenListsatisfies the givenat the given index.Condition<K,V>
voidMaps. assertHasEntrySatisfying(AssertionInfo info, Map<K,V> actual, K key, Condition<? super V> valueCondition)Verifies that the givenMapcontains the value for givenkeythat satisfy givenvalueCondition.<K,V>
voidMaps. assertHasEntrySatisfying(AssertionInfo info, Map<K,V> actual, Condition<? super Map.Entry<K,V>> entryCondition)Verifies that the givenMapcontains an entry satisfying givenentryCondition.<K,V>
voidMaps. assertHasEntrySatisfyingConditions(AssertionInfo info, Map<K,V> actual, Condition<? super K> keyCondition, Condition<? super V> valueCondition)Verifies that the givenMapcontains an entry with key satisfyingkeyConditionand value satisfyingvalueCondition.<K> voidMaps. assertHasKeySatisfying(AssertionInfo info, Map<K,?> actual, Condition<? super K> keyCondition)Verifies that the givenMapcontains an entry with key satisfyingkeyCondition.<V> voidMaps. assertHasValueSatisfying(AssertionInfo info, Map<?,V> actual, Condition<? super V> valueCondition)Verifies that the givenMapcontains an entry with value satisfyingvalueCondition.<E> voidArrays. assertHave(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)<E> voidIterables. assertHave(AssertionInfo info, Iterable<? extends E> actual, Condition<? super E> condition)Assert that each element of givenIterablesatisfies the given condition.<E> voidObjectArrays. assertHave(AssertionInfo info, E[] actual, Condition<? super E> condition)Assert that each element of given array satisfies the given condition.<E> voidArrays. assertHaveAtLeast(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)<E> voidIterables. assertHaveAtLeast(AssertionInfo info, 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> voidObjectArrays. 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> voidArrays. assertHaveAtMost(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)<E> voidIterables. assertHaveAtMost(AssertionInfo info, 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> voidObjectArrays. 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> voidArrays. assertHaveExactly(AssertionInfo info, Failures failures, Conditions conditions, Object array, int times, Condition<E> condition)<E> voidIterables. assertHaveExactly(AssertionInfo info, 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> voidObjectArrays. 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).<E> voidArrays. assertHaveNot(AssertionInfo info, Failures failures, Conditions conditions, Object array, Condition<E> condition)<T> voidConditions. assertIs(AssertionInfo info, T actual, Condition<? super T> condition)Asserts that the actual value satisfies the given.Condition<T> voidLists. assertIs(AssertionInfo info, List<? extends T> actual, Condition<? super T> condition, Index index)Verifies that the givenListsatisfies the givenat the given index.Condition<T> voidConditions. assertIsNot(AssertionInfo info, T actual, Condition<? super T> condition)Asserts that the actual value does not satisfy the given.ConditionvoidConditions. assertIsNotNull(Condition<?> condition)Asserts the the givenis not null.ConditionvoidConditions. assertIsNotNull(Condition<?> condition, String format, Object... args)Asserts the the givenis not null.Condition
-