Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
<T> ListAssert<T> |
AbstractStandardSoftAssertions.assertThat(java.util.List<? extends T> actual)
Creates a new instance of
. |
<V> ListAssert<V> |
AbstractIterableAssert.extracting(Extractor<? super T,V> extractor)
Extract the values from Iterable's elements under test by applying an extracting function on them.
|
ListAssert<Tuple> |
AbstractIterableAssert.extracting(java.lang.String... propertiesOrFields)
Extract the values of given fields/properties from the Iterable's elements under test into a new Iterable composed
of Tuple (a simple data structure), this new Iterable becoming the Iterable under test.
|
ListAssert<java.lang.Object> |
AbstractIterableAssert.extracting(java.lang.String propertyOrField)
Extract the values of given field or property from the Iterable's elements under test into a new Iterable, this new
Iterable becoming the Iterable under test.
|
<P> ListAssert<P> |
AbstractIterableAssert.extracting(java.lang.String propertyOrField,
java.lang.Class<P> extractingType)
Extract the values of given field or property from the Iterable's elements under test into a new Iterable, this new
Iterable becoming the Iterable under test.
|
ListAssert<java.lang.Object> |
AbstractIterableAssert.extractingResultOf(java.lang.String method)
Extract the result of given method invocation on the Iterable's elements under test into a new Iterable, this new
Iterable becoming the Iterable under test.
|
<P> ListAssert<P> |
AbstractIterableAssert.extractingResultOf(java.lang.String method,
java.lang.Class<P> extractedType)
Extract the result of given method invocation on the Iterable's elements under test into a new list of the given
class, this new List becoming the object under test.
|
<V> ListAssert<V> |
AbstractIterableAssert.flatExtracting(Extractor<? super T,? extends java.util.Collection<V>> extractor)
Extract the Iterable values from Iterable's elements under test by applying an Iterable extracting function on them
and concatenating the result lists.
|
ListAssert<java.lang.Object> |
AbstractIterableAssert.flatExtracting(java.lang.String propertyName)
Extract from Iterable's elements the Iterable/Array values corresponding to the given property/field name and
concatenate them into a single list becoming the new object under test.
|
<T> ListAssert<T> |
AbstractBDDSoftAssertions.then(java.util.List<? extends T> actual)
Creates a new instance of
. |