Package | Description |
---|---|
org.assertj.core.api | |
org.assertj.core.extractor | |
org.assertj.core.groups | |
org.assertj.core.presentation |
Modifier and Type | Method and Description |
---|---|
default Tuple |
WithAssertions.tuple(java.lang.Object... values)
Delegate call to
Assertions.tuple(Object[]) |
static Tuple |
Java6Assertions.tuple(java.lang.Object... values)
Utility method to build nicely a
Tuple when working with AbstractIterableAssert.extracting(String...) or
AbstractObjectArrayAssert.extracting(String...) |
static Tuple |
Assertions.tuple(java.lang.Object... values)
Utility method to build nicely a
Tuple when working with AbstractIterableAssert.extracting(String...) or
AbstractObjectArrayAssert.extracting(String...) |
static Tuple |
AssertionsForClassTypes.tuple(java.lang.Object... values)
Utility method to build nicely a
Tuple when working with AbstractIterableAssert.extracting(String...) or
AbstractObjectArrayAssert.extracting(String...) |
Modifier and Type | Method and Description |
---|---|
ObjectArrayAssert<Tuple> |
AbstractObjectArrayAssert.extracting(java.util.function.Function<ELEMENT,?>... extractors)
Use the given
Function s to extract the values from the array's elements into a new array
composed of Tuple s (a simple data structure containing the extracted values), this new array becoming the
object under test. |
ListAssert<Tuple> |
AbstractIterableAssert.extracting(java.util.function.Function<ELEMENT,?>... extractors)
Use the given
Function s to extract the values from the Iterable 's elements into a new Iterable
composed of Tuple s (a simple data structure containing the extracted values), this new Iterable becoming the
object under test. |
ObjectArrayAssert<Tuple> |
AtomicReferenceArrayAssert.extracting(java.lang.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.
|
ObjectArrayAssert<Tuple> |
AbstractObjectArrayAssert.extracting(java.lang.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.
|
AbstractListAssert<?,java.util.List<? extends Tuple>,Tuple,ObjectAssert<Tuple>> |
AbstractIterableAssert.extracting(java.lang.String... propertiesOrFields)
Extract the values of the given fields/properties from the Iterable's elements under test into a new Iterable composed
of Tuples (a simple data structure), this new Iterable becoming the Iterable under test.
|
AbstractListAssert<?,java.util.List<? extends Tuple>,Tuple,ObjectAssert<Tuple>> |
AbstractIterableAssert.extracting(java.lang.String... propertiesOrFields)
Extract the values of the given fields/properties from the Iterable's elements under test into a new Iterable composed
of Tuples (a simple data structure), this new Iterable becoming the Iterable under test.
|
AbstractListAssert<?,java.util.List<? extends Tuple>,Tuple,ObjectAssert<Tuple>> |
AbstractIterableAssert.extracting(java.lang.String... propertiesOrFields)
Extract the values of the given fields/properties from the Iterable's elements under test into a new Iterable composed
of Tuples (a simple data structure), this new Iterable becoming the Iterable under test.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
ByNameMultipleExtractor.extract(T input) |
Modifier and Type | Method and Description |
---|---|
static <F> Extractor<F,Tuple> |
Extractors.byName(java.lang.String... fieldsOrProperties)
Provides extractor for extracting multiple fields or properties from any object using reflection
|
Modifier and Type | Method and Description |
---|---|
static Tuple |
Tuple.tuple(java.lang.Object... values) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
StandardRepresentation.toStringOf(Tuple tuple) |