AbstractListAssert<?,java.util.List<?>,java.lang.Object,ObjectAssert<java.lang.Object>> |
AbstractAssert.asList() |
Verifies that the actual value is an instance of List,
and returns a list assertion, to allow chaining of list-specific
assertions from this call.
|
AbstractListAssert<?,java.util.List<?>,java.lang.Object,ObjectAssert<java.lang.Object>> |
Assert.asList() |
Verifies that the actual value is an instance of List,
and returns a list assertion, to allow chaining of list-specific
assertions from this call.
|
static <ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
Assertions.assertThat(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual) |
Creates a new instance of ListAssert
from the given BaseStream .
|
static <T> AbstractIterableAssert<?,java.lang.Iterable<? extends T>,T,ObjectAssert<T>> |
Java6Assertions.assertThat(java.lang.Iterable<? extends T> actual) |
|
static <T> AbstractIterableAssert<?,java.lang.Iterable<? extends T>,T,ObjectAssert<T>> |
Java6Assertions.assertThat(java.util.Iterator<? extends T> actual) |
|
static <T> AbstractListAssert<?,java.util.List<? extends T>,T,ObjectAssert<T>> |
Java6Assertions.assertThat(java.util.List<? extends T> actual) |
|
default <ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> AbstractListAssert<?,? extends java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
WithAssertions.assertThat(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual) |
|
private <V> AbstractListAssert<?,java.util.List<? extends V>,V,ObjectAssert<V>> |
AbstractIterableAssert.doFlatExtracting(Extractor<? super ELEMENT,? extends java.util.Collection<V>> extractor) |
|
AbstractListAssert<?,java.util.List<? extends java.lang.Object>,java.lang.Object,ObjectAssert<java.lang.Object>> |
AbstractIterableAssert.extracting(java.lang.String propertyOrField) |
Extract the values of the given field or property from the Iterable's elements under test into a new Iterable, 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.
|
<P> AbstractListAssert<?,java.util.List<? extends P>,P,ObjectAssert<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.
|
<V> AbstractListAssert<?,java.util.List<? extends V>,V,ObjectAssert<V>> |
AbstractIterableAssert.extracting(Extractor<? super ELEMENT,V> extractor) |
Extract the values from Iterable's elements under test by applying an extracting function on them.
|
<V,EXCEPTION extends java.lang.Exception> AbstractListAssert<?,java.util.List<? extends V>,V,ObjectAssert<V>> |
AbstractIterableAssert.extracting(ThrowingExtractor<? super ELEMENT,V,EXCEPTION> extractor) |
Extract the values from Iterable's elements under test by applying an extracting function (which might throw an
exception) on them.
|
AbstractListAssert<?,java.util.List<? extends java.lang.Object>,java.lang.Object,ObjectAssert<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> AbstractListAssert<?,java.util.List<? extends P>,P,ObjectAssert<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.
|
AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AbstractIterableAssert.filteredOn(java.lang.String propertyOrFieldName,
java.lang.Object expectedValue) |
Filter the iterable under test keeping only elements having a property or field equal to expectedValue , the
property/field is specified by propertyOrFieldName parameter.
|
AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AbstractIterableAssert.filteredOn(java.lang.String propertyOrFieldName,
FilterOperator<?> filterOperator) |
Filter the iterable under test keeping only elements having a property or field matching the filter expressed with
the FilterOperator , the property/field is specified by propertyOrFieldName parameter.
|
AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AbstractIterableAssert.filteredOn(java.util.function.Predicate<? super ELEMENT> predicate) |
Filter the iterable under test keeping only elements matching the given Predicate .
|
AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AbstractIterableAssert.filteredOn(Condition<? super ELEMENT> condition) |
Filter the iterable under test keeping only elements matching the given Condition .
|
AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AbstractIterableAssert.filteredOnNull(java.lang.String propertyOrFieldName) |
Filter the iterable under test keeping only elements whose property or field specified by
propertyOrFieldName is null.
|
AbstractListAssert<?,java.util.List<? extends java.lang.Object>,java.lang.Object,ObjectAssert<java.lang.Object>> |
AbstractIterableAssert.flatExtracting(java.lang.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.
|
AbstractListAssert<?,java.util.List<? extends java.lang.Object>,java.lang.Object,ObjectAssert<java.lang.Object>> |
AbstractIterableAssert.flatExtracting(java.lang.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.
|
<V> AbstractListAssert<?,java.util.List<? extends V>,V,ObjectAssert<V>> |
AbstractIterableAssert.flatExtracting(Extractor<? super ELEMENT,? 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.
|
<V,EXCEPTION extends java.lang.Exception> AbstractListAssert<?,java.util.List<? extends V>,V,ObjectAssert<V>> |
AbstractIterableAssert.flatExtracting(ThrowingExtractor<? super ELEMENT,? extends java.util.Collection<V>,EXCEPTION> extractor) |
Extract the Iterable values from Iterable's elements under test by applying an Iterable extracting function (which
might throw an exception) on them and concatenating the result lists.
|
protected <E> AbstractListAssert<?,java.util.List<? extends E>,E,ObjectAssert<E>> |
AbstractIterableAssert.newListAssertInstance(java.util.List<? extends E> newActual) |
Create a friendly soft or "hard" assertion.
|
protected <ELEMENT2> AbstractListAssert<?,java.util.List<? extends ELEMENT2>,ELEMENT2,ObjectAssert<ELEMENT2>> |
SoftAssertionIterableAssert.newListAssertInstance(java.util.List<? extends ELEMENT2> newActual) |
|
protected <ELEMENT2> AbstractListAssert<?,java.util.List<? extends ELEMENT2>,ELEMENT2,ObjectAssert<ELEMENT2>> |
SoftAssertionListAssert.newListAssertInstance(java.util.List<? extends ELEMENT2> newActual) |
|
AbstractIterableAssert<IterableAssert<T>,java.lang.Iterable<? extends T>,T,ObjectAssert<T>> |
IterableSizeAssert.returnToIterable() |
|
static <ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> AbstractListAssert<?,java.util.List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
BDDAssertions.then(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual) |
Creates a new instance of ListAssert
from the given BaseStream .
|
static <T> AbstractIterableAssert<?,java.lang.Iterable<? extends T>,T,ObjectAssert<T>> |
Java6BDDAssertions.then(java.lang.Iterable<? extends T> actual) |
|
static <T> AbstractIterableAssert<?,java.lang.Iterable<? extends T>,T,ObjectAssert<T>> |
Java6BDDAssertions.then(java.util.Iterator<? extends T> actual) |
|
static <T> AbstractListAssert<?,java.util.List<? extends T>,T,ObjectAssert<T>> |
Java6BDDAssertions.then(java.util.List<? extends T> actual) |
|