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
. |
<ELEMENT> ListAssert<ELEMENT> |
AbstractStandardSoftAssertions.assertThat(Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
<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(Function<ELEMENT,?>... extractors)
|
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(Extractor<? super ELEMENT,? extends Object>... extractors)
Extract multiple values from each
Iterable 's element according to the given Extractor s
and concatenate/flatten the extracted values in a list that is used as the new object under test. |
ListAssert<Object> |
AbstractIterableAssert.flatExtracting(String... fieldOrPropertyNames)
Extract the given property/field 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.
|
ListAssert<ELEMENT> |
ListAssert.isEqualTo(Object expected) |
ListAssert<ELEMENT> |
ListAssert.isExactlyInstanceOf(Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isInstanceOf(Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isInstanceOfAny(Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isNotExactlyInstanceOf(Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isNotInstanceOf(Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isNotInstanceOfAny(Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isNotOfAnyClassIn(Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isNotSameAs(Object expected) |
ListAssert<ELEMENT> |
ListAssert.isOfAnyClassIn(Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isSameAs(Object expected) |
ListAssert<ELEMENT> |
ListAssert.startsWith(ELEMENT... sequence) |
<T> ListAssert<T> |
Java6AbstractBDDSoftAssertions.then(List<? extends T> actual)
Creates a new instance of
. |
<ELEMENT> ListAssert<ELEMENT> |
AbstractBDDSoftAssertions.then(Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
Copyright © 2014–2016 AssertJ. All rights reserved.