Uses of Class
org.assertj.core.api.ObjectArrayAssert
-
Uses of ObjectArrayAssert in org.assertj.core.api
Modifier and TypeFieldDescriptionstatic final InstanceOfAssertFactory
<Object[], ObjectArrayAssert<Object>> InstanceOfAssertFactories.ARRAY
InstanceOfAssertFactory
for an array ofObject
.Modifier and TypeMethodDescriptionstatic <T> ObjectArrayAssert
<T> Assertions.assertThat
(T[] actual) Creates a new instance of
.ObjectArrayAssert
static <T> ObjectArrayAssert
<T> AssertionsForClassTypes.assertThat
(T[] actual) Creates a new instance of
.ObjectArrayAssert
default <T> ObjectArrayAssert
<T> Java6StandardSoftAssertionsProvider.assertThat
(T[] actual) Creates a new instance of
.ObjectArrayAssert
default <T> ObjectArrayAssert
<T> WithAssertions.assertThat
(T[] actual) Creates a new instance of
.ObjectArrayAssert
static <T> ObjectArrayAssert
<T> Assumptions.assumeThat
(T[] actual) Creates a new instance of
assumption.ObjectArrayAssert
default <T> ObjectArrayAssert
<T> WithAssumptions.assumeThat
(T[] actual) Creates a new instance of
assumption.ObjectArrayAssert
AtomicReferenceArrayAssert.extracting
(String fieldOrProperty) Extract the values of given field or property from the array's elements under test into a new array, this new array becoming the array under test.AtomicReferenceArrayAssert.extracting
(String... propertiesOrFields) Extract the values of given fields/properties from the array's elements under test into a new array composed of Tuple (a simple data structure), this new array becoming the array under test.<P> ObjectArrayAssert
<P> AtomicReferenceArrayAssert.extracting
(String fieldOrProperty, Class<P> extractingType) Extract the values of given field or property from the array's elements under test into a new array, this new array becoming the array under test with type.<U> ObjectArrayAssert
<U> AtomicReferenceArrayAssert.extracting
(Function<? super T, U> extractor) Extract the values from the array's elements by applying an extracting function 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.AtomicReferenceArrayAssert.extractingResultOf
(String method) Extract the result of given method invocation from the array's elements under test into a new array, this new array becoming the array under test.<P> ObjectArrayAssert
<P> AtomicReferenceArrayAssert.extractingResultOf
(String method, Class<P> extractingType) Extract the result of given method invocation from the array's elements under test into a new array, this new array becoming the array under test.AtomicReferenceArrayAssert.flatExtracting
(String propertyName) Extract from array's elements the Iterable/Array values corresponding to the given property/field name and concatenate them into a single array becoming the new object under test.<U,
C extends Collection<U>>
ObjectArrayAssert<U> AtomicReferenceArrayAssert.flatExtracting
(Function<? super T, C> extractor) Extract the Iterable values from the array's elements by applying an Iterable extracting function 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.static <T> ObjectArrayAssert
<T> BDDAssumptions.given
(T[] actual) Creates a new assumption's instance for an objects' array.protected ObjectArrayAssert
<ELEMENT> ObjectArrayAssert.newObjectArrayAssert
(ELEMENT[] array) static <T> ObjectArrayAssert
<T> BDDAssertions.then
(T[] actual) Creates a new instance of
.ObjectArrayAssert
default <T> ObjectArrayAssert
<T> Java6BDDSoftAssertionsProvider.then
(T[] actual) Creates a new instance of
.ObjectArrayAssert
Modifier and TypeMethodDescriptionstatic <ELEMENT> InstanceOfAssertFactory
<ELEMENT[], ObjectArrayAssert<ELEMENT>> InstanceOfAssertFactory
for an array of elements.