Uses of Interface
org.assertj.core.api.ThrowingConsumer
Packages that use ThrowingConsumer
-
Uses of ThrowingConsumer in org.assertj.core.api
Methods in org.assertj.core.api that return ThrowingConsumerModifier and TypeMethodDescriptionstatic <T> ThrowingConsumer<T> Assertions.allOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]).static <T> ThrowingConsumer<T> BDDAssertions.allOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]).default <T> ThrowingConsumer<T> WithAssertions.allOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]).static <T> ThrowingConsumer<T> Assertions.anyOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]).static <T> ThrowingConsumer<T> BDDAssertions.anyOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]).default <T> ThrowingConsumer<T> WithAssertions.anyOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]).Methods in org.assertj.core.api with parameters of type ThrowingConsumerModifier and TypeMethodDescriptionstatic <T> ThrowingConsumer<T> Assertions.allOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]).static <T> ThrowingConsumer<T> BDDAssertions.allOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]).default <T> ThrowingConsumer<T> WithAssertions.allOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfies(ThrowingConsumer[]).AbstractIterableAssert.allSatisfy(ThrowingConsumer<? super ELEMENT> requirements) Verifies that all the elements satisfy the given requirements expressed as aThrowingConsumer.AbstractObjectArrayAssert.allSatisfy(ThrowingConsumer<? super ELEMENT> requirements) Verifies that all the elements satisfy the given requirements expressed as aThrowingConsumer.AtomicReferenceArrayAssert.allSatisfy(ThrowingConsumer<? super T> requirements) Verifies that all the elements satisfy the given requirements expressed as aThrowingConsumer.ObjectEnumerableAssert.allSatisfy(ThrowingConsumer<? super ELEMENT> requirements) Verifies that all the elements satisfy the given requirements expressed as aThrowingConsumer.static <T> ThrowingConsumer<T> Assertions.anyOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]).static <T> ThrowingConsumer<T> BDDAssertions.anyOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]).default <T> ThrowingConsumer<T> WithAssertions.anyOf(ThrowingConsumer<? super T>... consumers) Create a newthat delegates the evaluation of the given consumers toThrowingConsumerAbstractAssert.satisfiesAnyOf(ThrowingConsumer[]).AbstractIterableAssert.anySatisfy(ThrowingConsumer<? super ELEMENT> requirements) Verifies that at least one element satisfies the given requirements expressed as aThrowingConsumer.AbstractObjectArrayAssert.anySatisfy(ThrowingConsumer<? super ELEMENT> requirements) Verifies that at least one element satisfies the given requirements expressed as aThrowingConsumer.AtomicReferenceArrayAssert.anySatisfy(ThrowingConsumer<? super T> requirements) Verifies that at least one element satisfies the given requirements expressed as aThrowingConsumer.ObjectEnumerableAssert.anySatisfy(ThrowingConsumer<? super ELEMENT> requirements) Verifies that at least one element satisfies the given requirements expressed as aThrowingConsumer.AbstractIterableAssert.filteredOnAssertions(ThrowingConsumer<? super ELEMENT> elementAssertions) Filters the iterable under test keeping only elements matching the given assertions specified with aThrowingConsumer.AbstractObjectArrayAssert.filteredOnAssertions(ThrowingConsumer<? super ELEMENT> elementAssertions) Filter the array under test keeping only elements matching the given assertions specified with aConsumer.AbstractIterableAssert.noneSatisfy(ThrowingConsumer<? super ELEMENT> restrictions) Verifies that no elements satisfy the given restrictions expressed as aConsumer.AbstractObjectArrayAssert.noneSatisfy(ThrowingConsumer<? super ELEMENT> restrictions) Verifies that no elements satisfy the given restrictions expressed as aConsumer.AtomicReferenceArrayAssert.noneSatisfy(ThrowingConsumer<? super T> restrictions) Verifies that no elements satisfy the given restrictions expressed as aConsumer.ObjectEnumerableAssert.noneSatisfy(ThrowingConsumer<? super ELEMENT> restrictions) Verifies that no elements satisfy the given restrictions expressed as aConsumer.final SELFAbstractAssert.satisfies(ThrowingConsumer<? super ACTUAL>... assertions) Verifies that the actual object satisfied the given requirements expressed asThrowingConsumers.final SELFAbstractAssert.satisfiesAnyOf(ThrowingConsumer<? super ACTUAL>... assertions) Verifies that the actual object under test satisfies at least one of the given assertions group expressed asThrowingConsumers.final SELFAbstractIterableAssert.satisfiesExactly(ThrowingConsumer<? super ELEMENT>... requirements) Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...final SELFAbstractObjectArrayAssert.satisfiesExactly(ThrowingConsumer<? super ELEMENT>... requirements) Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...final AtomicReferenceArrayAssert<T> AtomicReferenceArrayAssert.satisfiesExactly(ThrowingConsumer<? super T>... requirements) Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...ObjectEnumerableAssert.satisfiesExactly(ThrowingConsumer<? super ELEMENT>... allRequirements) Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc...final SELFAbstractIterableAssert.satisfiesExactlyInAnyOrder(ThrowingConsumer<? super ELEMENT>... requirements) Verifies that at least one combination of iterable elements exists that satisfies theThrowingConsumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).final SELFAbstractObjectArrayAssert.satisfiesExactlyInAnyOrder(ThrowingConsumer<? super ELEMENT>... requirements) Verifies that at least one combination of iterable elements exists that satisfies theThrowingConsumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).final AtomicReferenceArrayAssert<T> AtomicReferenceArrayAssert.satisfiesExactlyInAnyOrder(ThrowingConsumer<? super T>... requirements) Verifies that at least one combination of iterable elements exists that satisfies theThrowingConsumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).ObjectEnumerableAssert.satisfiesExactlyInAnyOrder(ThrowingConsumer<? super ELEMENT>... allRequirements) Verifies that at least one combination of iterable elements exists that satisfies theThrowingConsumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements).AbstractIterableAssert.satisfiesOnlyOnce(ThrowingConsumer<? super ELEMENT> requirements) Verifies that there is exactly one element in the iterable under tests that satisfies theThrowingConsumer.AbstractObjectArrayAssert.satisfiesOnlyOnce(ThrowingConsumer<? super ELEMENT> requirements) Verifies that there is exactly one element in the array under test that satisfies theThrowingConsumer.AtomicReferenceArrayAssert.satisfiesOnlyOnce(ThrowingConsumer<? super T> requirements) Verifies that there is exactly one element in theAtomicReferenceArrayunder test that satisfies theThrowingConsumer.ObjectEnumerableAssert.satisfiesOnlyOnce(ThrowingConsumer<? super ELEMENT> requirements) Verifies that there is exactly one element in the iterable under tests that satisfies theThrowingConsumer.