Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Method and Description |
---|---|
static <ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>> |
AssertionsForInterfaceTypes.assertThat(BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream . |
<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>> |
AbstractStandardSoftAssertions.assertThat(BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream . |
static <ELEMENT> ListAssert<ELEMENT> |
AssertionsForInterfaceTypes.assertThat(List<? extends ELEMENT> actual)
Creates a new instance of
. |
static <ELEMENT> ListAssert<ELEMENT> |
Assertions.assertThat(List<? extends ELEMENT> actual)
Creates a new instance of
. |
default <T> ListAssert<? extends T> |
WithAssertions.assertThat(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(Function<ELEMENT,?>... extractors)
|
ListAssert<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 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(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.isSubsetOf(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.startsWith(ELEMENT... sequence) |
<ELEMENT,STREAM extends BaseStream<ELEMENT,STREAM>> |
AbstractBDDSoftAssertions.then(BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream . |
static <T> ListAssert<T> |
BDDAssertions.then(List<? extends T> actual)
Creates a new instance of
. |
Copyright © 2014–2017 AssertJ. All rights reserved.