Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
<ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> |
AbstractStandardSoftAssertions.assertThat(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream . |
static <ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> |
AssertionsForInterfaceTypes.assertThat(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream . |
static <ELEMENT> ListAssert<ELEMENT> |
AssertionsForInterfaceTypes.assertThat(java.util.List<? extends ELEMENT> actual)
Creates a new instance of
. |
static <ELEMENT> ListAssert<ELEMENT> |
Assertions.assertThat(java.util.List<? extends ELEMENT> actual)
Creates a new instance of
. |
default <T> ListAssert<? extends T> |
WithAssertions.assertThat(java.util.List<? extends T> actual)
Delegate call to
Assertions.assertThat(List) |
ListAssert<ELEMENT> |
ListAssert.contains(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.containsExactly(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.containsExactlyInAnyOrder(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.containsOnly(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.containsOnlyOnce(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.containsSequence(ELEMENT... sequence) |
ListAssert<ELEMENT> |
ListAssert.containsSubsequence(ELEMENT... sequence) |
ListAssert<ELEMENT> |
ListAssert.doesNotContain(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.doesNotContainSequence(ELEMENT... sequence) |
ListAssert<ELEMENT> |
ListAssert.doesNotContainSubsequence(ELEMENT... sequence) |
ListAssert<ELEMENT> |
ListAssert.endsWith(ELEMENT... sequence) |
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. |
ListAssert<java.lang.Object> |
AbstractIterableAssert.flatExtracting(Extractor<? super ELEMENT,?>... 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. |
<EXCEPTION extends java.lang.Exception> |
AbstractIterableAssert.flatExtracting(ThrowingExtractor<? super ELEMENT,?,EXCEPTION>... extractors)
Extract multiple values from each
Iterable 's element according to the given ThrowingExtractor s
and concatenate/flatten the extracted values in a list that is used as the new object under test. |
ListAssert<ELEMENT> |
ListAssert.isEqualTo(java.lang.Object expected) |
ListAssert<ELEMENT> |
ListAssert.isExactlyInstanceOf(java.lang.Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isInstanceOf(java.lang.Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isInstanceOfAny(java.lang.Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isNotExactlyInstanceOf(java.lang.Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isNotInstanceOf(java.lang.Class<?> type) |
ListAssert<ELEMENT> |
ListAssert.isNotInstanceOfAny(java.lang.Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isNotOfAnyClassIn(java.lang.Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isNotSameAs(java.lang.Object expected) |
ListAssert<ELEMENT> |
ListAssert.isOfAnyClassIn(java.lang.Class<?>... types) |
ListAssert<ELEMENT> |
ListAssert.isSameAs(java.lang.Object expected) |
ListAssert<ELEMENT> |
ListAssert.isSubsetOf(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.startsWith(ELEMENT... sequence) |
<ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> |
AbstractBDDSoftAssertions.then(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream . |
static <T> ListAssert<T> |
BDDAssertions.then(java.util.List<? extends T> actual)
Creates a new instance of
. |