| Package | Description |
|---|---|
| org.assertj.core.api |
| Modifier and Type | Method and Description |
|---|---|
static <T> ListAssert<T> |
Java6Assertions.assertThat(List<? extends T> actual)
Creates a new instance of
. |
<T> ListAssert<T> |
Java6AbstractStandardSoftAssertions.assertThat(List<? extends T> actual)
Creates a new instance of
. |
<V> ListAssert<V> |
AbstractIterableAssert.extracting(Extractor<? super ELEMENT,V> extractor)
Extract the values from Iterable's elements under test by applying an extracting function on them.
|
ListAssert<Tuple> |
AbstractIterableAssert.extracting(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<Object> |
AbstractIterableAssert.extracting(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(String propertyOrField,
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<Object> |
AbstractIterableAssert.extractingResultOf(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(String method,
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 ELEMENT,? extends 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<Object> |
AbstractIterableAssert.flatExtracting(String... fieldOrPropertyNames)
Extract the given properties/fields values from each
Iterable's element and
flatten the extracted values in a list that is used as the new object under test. |
ListAssert<Object> |
AbstractIterableAssert.flatExtracting(String fieldOrPropertyName)
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> |
Java6AbstractBDDSoftAssertions.then(List<? extends T> actual)
Creates a new instance of
. |
Copyright © 2013–2016 AssertJ. All rights reserved.