Package | Description |
---|---|
org.fest.assertions.api |
Modifier and Type | Method and Description |
---|---|
static <T> ListAssert<T> |
Assertions.assertThat(List<T> actual)
Creates a new instance of
. |
ListAssert<T> |
ListAssert.contains(T value,
Index index)
Verifies that the actual group contains the given object at the given index.
|
ListAssert<T> |
ListAssert.doesNotContain(T value,
Index index)
Verifies that the actual group does not contain the given object at the given index.
|
ListAssert<T> |
ListAssert.has(Condition<? super T> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.
|
ListAssert<T> |
ListAssert.is(Condition<? super T> condition,
Index index)
Verifies that the actual object at the given index in the actual group satisfies the given condition.
|
ListAssert<T> |
ListAssert.isSorted()
Verifies that the actual list is sorted into ascending order according to the natural ordering of its elements.
|
ListAssert<T> |
ListAssert.isSortedAccordingTo(Comparator<? super T> comparator)
Verifies that the actual list is sorted according to the given comparator. Empty lists are considered sorted whatever
the comparator is. One element lists are considered sorted if element is compatible with comparator.
|
ListAssert<T> |
ListAssert.usingDefaultElementComparator() |
ListAssert<T> |
ListAssert.usingElementComparator(Comparator<? super T> customComparator) |
Copyright © 2007–2016. All rights reserved.