Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Field and Description |
---|---|
static InstanceOfAssertFactory<java.util.stream.DoubleStream,ListAssert<java.lang.Double>> |
InstanceOfAssertFactories.DOUBLE_STREAM
InstanceOfAssertFactory for a DoubleStream . |
static InstanceOfAssertFactory<java.util.stream.IntStream,ListAssert<java.lang.Integer>> |
InstanceOfAssertFactories.INT_STREAM
InstanceOfAssertFactory for an IntStream . |
static InstanceOfAssertFactory<java.util.List,ListAssert<java.lang.Object>> |
InstanceOfAssertFactories.LIST
|
static InstanceOfAssertFactory<java.util.stream.LongStream,ListAssert<java.lang.Long>> |
InstanceOfAssertFactories.LONG_STREAM
InstanceOfAssertFactory for a LongStream . |
static InstanceOfAssertFactory<java.util.stream.Stream,ListAssert<java.lang.Object>> |
InstanceOfAssertFactories.STREAM
|
Modifier and Type | Method and Description |
---|---|
static ListAssert<java.lang.Double> |
Assertions.assertThat(java.util.stream.DoubleStream actual)
Creates a new instance of
from the given DoubleStream . |
static ListAssert<java.lang.Double> |
AssertionsForInterfaceTypes.assertThat(java.util.stream.DoubleStream actual)
Creates a new instance of
from the given DoubleStream . |
default ListAssert<java.lang.Double> |
WithAssertions.assertThat(java.util.stream.DoubleStream actual)
Creates a new instance of
from the given DoubleStream . |
static ListAssert<java.lang.Integer> |
Assertions.assertThat(java.util.stream.IntStream actual)
Creates a new instance of
from the given IntStream . |
static ListAssert<java.lang.Integer> |
AssertionsForInterfaceTypes.assertThat(java.util.stream.IntStream actual)
Creates a new instance of
from the given IntStream . |
default ListAssert<java.lang.Integer> |
WithAssertions.assertThat(java.util.stream.IntStream actual)
Creates a new instance of
from the given IntStream . |
static <ELEMENT> ListAssert<ELEMENT> |
Assertions.assertThat(java.util.List<? extends ELEMENT> actual)
Creates a new instance of
. |
static <ELEMENT> ListAssert<ELEMENT> |
AssertionsForInterfaceTypes.assertThat(java.util.List<? extends ELEMENT> actual)
Creates a new instance of
. |
default <T> ListAssert<T> |
WithAssertions.assertThat(java.util.List<? extends T> actual)
Creates a new instance of
. |
static ListAssert<java.lang.Long> |
Assertions.assertThat(java.util.stream.LongStream actual)
Creates a new instance of
from the given LongStream . |
static ListAssert<java.lang.Long> |
AssertionsForInterfaceTypes.assertThat(java.util.stream.LongStream actual)
Creates a new instance of
from the given LongStream . |
default ListAssert<java.lang.Long> |
WithAssertions.assertThat(java.util.stream.LongStream actual)
Creates a new instance of
from the given LongStream . |
static <ELEMENT> ListAssert<ELEMENT> |
Assertions.assertThat(java.util.stream.Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
static <ELEMENT> ListAssert<ELEMENT> |
AssertionsForInterfaceTypes.assertThat(java.util.stream.Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
default <ELEMENT> ListAssert<ELEMENT> |
WithAssertions.assertThat(java.util.stream.Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
ListAssert<ELEMENT> |
ListAssert.contains(ELEMENT... values) |
ListAssert<ELEMENT> |
ListAssert.containsAnyOf(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 first,
ELEMENT... rest) |
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) |
protected ListAssert<ELEMENT> |
ListAssert.newAbstractIterableAssert(java.lang.Iterable<? extends ELEMENT> iterable) |
ListAssert<ELEMENT> |
ListAssert.startsWith(ELEMENT... sequence) |
static ListAssert<java.lang.Double> |
BDDAssertions.then(java.util.stream.DoubleStream actual)
Creates a new instance of
from the given DoubleStream . |
static ListAssert<java.lang.Integer> |
BDDAssertions.then(java.util.stream.IntStream actual)
Creates a new instance of
from the given IntStream . |
static <T> ListAssert<T> |
BDDAssertions.then(java.util.List<? extends T> actual)
Creates a new instance of
. |
static ListAssert<java.lang.Long> |
BDDAssertions.then(java.util.stream.LongStream actual)
Creates a new instance of
from the given LongStream . |
static <ELEMENT> ListAssert<ELEMENT> |
BDDAssertions.then(java.util.stream.Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
Modifier and Type | Method and Description |
---|---|
static <ELEMENT> InstanceOfAssertFactory<java.util.List,ListAssert<ELEMENT>> |
InstanceOfAssertFactories.list(java.lang.Class<ELEMENT> elementType)
InstanceOfAssertFactory for a List . |
static <ELEMENT> InstanceOfAssertFactory<java.util.stream.Stream,ListAssert<ELEMENT>> |
InstanceOfAssertFactories.stream(java.lang.Class<ELEMENT> elementType)
InstanceOfAssertFactory for a Stream . |