Uses of Interface
org.assertj.core.api.iterable.ThrowingExtractor
Packages that use ThrowingExtractor
-
Uses of ThrowingExtractor in org.assertj.core.api
Methods in org.assertj.core.api with parameters of type ThrowingExtractorModifier and TypeMethodDescription<V,
EXCEPTION extends Exception>
AbstractListAssert<?, List<? extends V>, V, ObjectAssert<V>> AbstractIterableAssert.extracting
(ThrowingExtractor<? super ELEMENT, V, EXCEPTION> extractor) Extract the values from Iterable's elements under test by applying an extracting function (which might throw an exception) on them.<U,
EXCEPTION extends Exception>
ObjectArrayAssert<U> AbstractObjectArrayAssert.extracting
(ThrowingExtractor<? super ELEMENT, U, EXCEPTION> extractor) Extract the values from the array's elements by applying an extracting function (which might throw an exception) on them.<U,
EXCEPTION extends Exception>
ObjectArrayAssert<U> AtomicReferenceArrayAssert.extracting
(ThrowingExtractor<? super T, U, EXCEPTION> extractor) Extract the values from the array's elements by applying an extracting function (which might throw an exception) on them.final <EXCEPTION extends Exception>
ListAssert<Object> AbstractIterableAssert.flatExtracting
(ThrowingExtractor<? super ELEMENT, ?, EXCEPTION>... extractors) Extract multiple values from eachIterable
's element according to the givenThrowingExtractor
s and concatenate/flatten the extracted values in a list that is used as the new object under test.<V,
EXCEPTION extends Exception>
AbstractListAssert<?, List<? extends V>, V, ObjectAssert<V>> AbstractIterableAssert.flatExtracting
(ThrowingExtractor<? super ELEMENT, ? extends Collection<V>, EXCEPTION> extractor) Extract the Iterable values from Iterable's elements under test by applying an Iterable extracting function (which might throw an exception) on them and concatenating the result lists.<U,
C extends Collection<U>, EXCEPTION extends Exception>
ObjectArrayAssert<U> AbstractObjectArrayAssert.flatExtracting
(ThrowingExtractor<? super ELEMENT, C, EXCEPTION> extractor) Extract the Iterable values from arrays elements under test by applying an Iterable extracting function (which might throw an exception) on them and concatenating the result lists into an array which becomes the new object under test.<U,
C extends Collection<U>, EXCEPTION extends Exception>
ObjectArrayAssert<U> AtomicReferenceArrayAssert.flatExtracting
(ThrowingExtractor<? super T, C, EXCEPTION> extractor) Extract the Iterable values from the array's elements by applying an Iterable extracting function (which might throw an exception) on them and concatenating the result lists into an array which becomes the new object under test.