Package | Description |
---|---|
org.assertj.core.api |
Modifier and Type | Class and Description |
---|---|
class |
AbstractListAssert<SELF extends AbstractListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>>
Base class for all implementations of assertions for
List s. |
Modifier and Type | Class and Description |
---|---|
class |
ClassBasedNavigableListAssert<SELF extends ClassBasedNavigableListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>>
Build the Assert instance by reflection.
|
class |
FactoryBasedNavigableListAssert<SELF extends FactoryBasedNavigableListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>,ACTUAL extends List<? extends ELEMENT>,ELEMENT,ELEMENT_ASSERT extends AbstractAssert<ELEMENT_ASSERT,ELEMENT>>
Provides helper methods for navigating a list property in a generated assertion class so we can chain assertions
through deeply nested models more easily.
|
class |
ListAssert<ELEMENT>
Assertion methods for
List s. |
Modifier and Type | Method and Description |
---|---|
AbstractListAssert<?,List<? extends Object>,Object,ObjectAssert<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.
|
AbstractListAssert<?,List<? extends Object>,Object,ObjectAssert<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.
|
static <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AssertionsForInterfaceTypes.assertThat(List<? extends ELEMENT> actual)
Creates a new instance of
. |
static <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
Assertions.assertThat(List<? extends ELEMENT> actual)
Creates a new instance of
. |
default <T> AbstractListAssert<?,List<? extends T>,T,ObjectAssert<T>> |
WithAssertions.assertThat(List<? extends T> actual)
Delegate call to
Assertions.assertThat(List) |
static <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
AssertionsForInterfaceTypes.assertThat(Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
static <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
Assertions.assertThat(Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
default <T> AbstractListAssert<?,? extends List<? extends T>,T,ObjectAssert<T>> |
WithAssertions.assertThat(Stream<? extends T> actual)
Delegate call to
Assertions.assertThat(List) |
static <T> AbstractListAssert<?,List<? extends T>,T,ObjectAssert<T>> |
BDDAssertions.then(List<? extends T> actual)
Creates a new instance of
. |
static <T> AbstractListAssert<?,List<? extends T>,T,ObjectAssert<T>> |
Java6BDDAssertions.then(List<? extends T> actual)
Creates a new instance of
. |
static <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> |
BDDAssertions.then(Stream<? extends ELEMENT> actual)
Creates a new instance of
from the given Stream . |
Copyright © 2014–2016 AssertJ. All rights reserved.