Uses of Class
org.fest.assertions.api.ListAssert
Packages that use ListAssert
-
Uses of ListAssert in org.fest.assertions.api
Methods in org.fest.assertions.api that return ListAssertModifier and TypeMethodDescriptionstatic <T> ListAssert
<T> Assertions.assertThat
(List<T> actual) Creates a new instance of
.ListAssert
Verifies that the actual group contains the given object at the given index.ListAssert.doesNotContain
(T value, Index index) Verifies that the actual group does not contain the given object at the given index.Verifies that the actual object at the given index in the actual group satisfies the given condition.Verifies that the actual object at the given index in the actual group satisfies the given condition.ListAssert.isSorted()
Verifies that the actual list is sorted into ascending order according to the natural ordering of its elements.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.usingDefaultElementComparator()
ListAssert.usingElementComparator
(Comparator<? super T> customComparator)