-
Sets the description of the actual value, to be used in as message of any
AssertionError
thrown when an assertion fails.
Sets the description of the actual value, to be used in as message of any
AssertionError
thrown when an assertion fails.
Verifies that the actual
List
contains the given objects, in any order.
Verifies that the actual
List
contains the given object at the given index.
Verifies that the actual
List
contains the given objects, in the same order.
Verifies that the actual
List
contains the given objects
only, in any order.
Verifies that the actual
List
contains the given sequence of objects, without any other
objects between them.
Verifies that the actual
List
does not have duplicates.
Verifies that the actual
List
does not satisfy the given condition.
Verifies that the actual
List
ends with the given sequence of objects, without any other
objects between them.
Verifies that the actual
List
does not contain the given objects.
Verifies that the number of elements in the actual
List
is equal to the given one.
Verifies that the actual
List
is equal to the given one.
Verifies that the actual
List
contains at least on element.
Verifies that the actual
List
is not equal to the given one.
Verifies that the actual
List
is not
null
.
Verifies that the actual
List
is not the same as the given one.
Verifies that the actual
List
is the same as the given one.
Creates a new instance of
ListAssert
whose target list contains the values of the given
property name from the elements of this
ListAssert
's list.
Replaces the default message displayed in case of a failure with the given one.
Verifies that the actual
List
satisfies the given condition.
Verifies that the actual
List
starts with the given sequence of objects, without any other
objects between them.