| Modifier and Type | Method and Description |
|---|---|
| public SELF | |
| public SELF | |
| public SELF | Returns: this object.the given requirements)Consumer.Verifies that all the elements satisfy the given requirements expressed as a |
| public SELF | Returns: this object.the given requirements)ThrowingConsumer.Verifies that all the elements satisfy the given requirements expressed as a |
| public SELF | |
| public SELF | Returns: this object.the given requirements)Consumer.Verifies that at least one element satisfies the given requirements expressed as a |
| public SELF | Returns: this object.the given requirements)ThrowingConsumer.Verifies that at least one element satisfies the given requirements expressed as a |
| public SELF | |
| public SELF | Returns: this object.the minimum number of times the condition should be verified. n, Condition<? super ELEMENT> the given condition. condition)Verifies that there are at least n elements in the actual group satisfying the given condition. |
| public SELF | Returns: this assertion object.the given condition. condition)Verifies that there is at least one element in the actual group satisfying the given condition. |
| public SELF | |
| public SELF | Returns: this object.the exact number of times the condition should be verified. n, Condition<? super ELEMENT> the given condition. condition)Verifies that there are exactly n elements in the actual group satisfying the given condition. |
| public SELF | |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains the given values, in any order. |
| public SELF | Returns: this assertion object.the given iterable)Iterable we will get elements from.Verifies that the actual group contains all the elements of given |
| public SELF | Returns: this assertion object.the iterable whose at least one element is expected to be in the iterable)Iterable under test.Verifies that the |
| public SELF | Returns: this assertion object.the values whose at least one which is expected to be in the values)Iterable under test.Verifies that the actual |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains exactly the given values and nothing else, in order. |
| public SELF | Returns: this assertion object.the given iterable)Iterable we will get elements from.Same as |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains exactly the given values and nothing else, in any order. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains exactly the given values and nothing else, in any order. |
| public SELF | Returns: this assertion object.Verifies that the actual group contains at least a null element. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains only the given values and nothing else, in any order and ignoring duplicates (i.e. once a value is found, its duplicates are also considered found). |
| public SELF | Returns: this assertion object.the given iterable)Iterable we will get elements from.
Deprecated
Same semantic as containsOnly(Object[]) : verifies that actual contains all the elements of the given
iterable and nothing else, in any order and ignoring duplicates (i.e. once a value is found, its duplicates are also considered found).
|
| public SELF | Returns: this assertion object.Verifies that the actual group contains only null elements and nothing else. |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group contains the given values only once. |
| public SELF | Returns: this assertion object.the given iterable)Iterable we will get elements from.Same semantic as |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group contains the given sequence in the correct order and without extra values between the sequence values. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group contains the given sequence in the correct order and without extra values between the sequence values. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group contains the given subsequence in the correct order (possibly with other values between them). |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group contains the given subsequence in the correct order (possibly with other values between them). |
| public SELF | Returns: this assertion object.the given values. values)Verifies that the actual group does not contain the given values. |
| public SELF | Returns: this assertion object.the iterable)Iterable whose elements must not be in the actual group.Verifies that actual does not contain any elements of the given |
| public SELF | Returns: this assertion object.Verifies that the actual group does not contain null elements. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group does not contain the given sequence, a sequence is defined by an ordered group of values without extra values between them. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group does not contain the given sequence, a sequence is defined by an ordered group of values without extra values between them. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group does not contain the given subsequence, a subsequence is defined by an ordered group of values with possibly extra values between them. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group does not contain the given subsequence, a subsequence is defined by an ordered group of values with possibly extra values between them. |
| public SELF | Returns: this assertion object.the not expected types. unexpectedTypes)Verifies that all the elements in the actual |
| public SELF | Returns: this assertion object.Verifies that the actual group does not contain duplicates. |
| public SELF | |
| public SELF | Returns: this assertion object.the first element of the sequence of objects to look for. first, ELEMENT... the rest of the sequence of objects to look for. sequence)Verifies that the actual group ends with the given sequence of objects, without any other objects between them. |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group ends with the given sequence of objects, without any other objects between them. |
| public SELF | Returns: this assertion object.the expected type. expectedType)Verifies that at least one element in the actual |
| public SELF | Returns: this assertion object.the expected types expectedTypes)Verifies that the actual elements are of the given types in the given order, there should be as many expected types as there are actual elements. |
| public SELF | Returns: this assertion object.the expected type. expectedType)Verifies that all the elements in the actual |
| public SELF | Returns: this assertion object.the expected types expectedTypes)Verifies that all elements of the actual group are instances of the given types. |
| public SELF | Returns: this assertion object.the assertions to perform on the unique element. elementAssertions)Verifies that the unique element of the |
| public SELF | Returns: this assertion objectthe Iterable whose elements we expect to be present iterable)Verifies that actual contains all the elements of the given iterable and nothing else, in any order and ignoring duplicates (i.e. once a value is found, its duplicates are also considered found). |
| public SELF | |
| public SELF | Returns: this assertion object.the minimum number of times the condition must hold. n, Condition<? super ELEMENT> the given condition. condition)Verifies that there are at least n elements in the actual group satisfying the given condition. |
| public SELF | Returns: this assertion object.the given condition. condition)Verifies that there is at least one element in the actual group satisfying the given condition. |
| public SELF | Returns: this assertion object.the maximum number of times the condition must hold. n, Condition<? super ELEMENT> the given condition. condition)Verifies that there are at most n elements in the actual group satisfying the given condition. |
| public SELF | Returns: this assertion object.the exact number of times the condition must hold. n, Condition<? super ELEMENT> the given condition. condition)Verifies that there are exactly n elements in the actual group satisfying the given condition. |
| public SELF | Returns: this assertion object.the values)Iterable that should contain all actual elements.Verifies that all the elements of actual are present in the given |
| public SELF | Returns: this assertion object.the values that should be used for checking the elements of actual. values)Verifies that all the elements of actual are present in the given values. |
| public SELF | |
| public SELF | Returns: this object.the given restrictions as restrictions)Consumer that no elements should met.Verifies that no elements satisfy the given restrictions expressed as a |
| public SELF | Returns: this object.the given restrictions)ThrowingConsumer.Verifies that no elements satisfy the given restrictions expressed as a |
| public SELF | Returns: this to chain assertions.the requirements to meet. allRequirements)Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc... |
| public SELF | Returns: this to chain assertions.the requirements to meet. allRequirements)Verifies that each element satisfies the requirements corresponding to its index, so the first element must satisfy the first requirements, the second element the second requirements etc... |
| public SELF | Returns: this assertion object.the consumers that are expected to be satisfied by the elements of the given allRequirements)Iterable.Verifies that at least one combination of iterable elements exists that satisfies the consumers in order (there must be as many consumers as iterable elements and once a consumer is matched it cannot be reused to match other elements). |
| public SELF | Returns: this assertion object.the consumers that are expected to be satisfied by the elements of the given allRequirements)Iterable.Verifies that at least one combination of iterable elements exists that satisfies the |
| public SELF | Returns: this assertion object.the requirements)Consumer that is expected to be satisfied only once by the elements of the given Iterable.Verifies that there is exactly one element in the iterable under tests that satisfies the |
| public SELF | Returns: this assertion object.the requirements)ThrowingConsumer that is expected to be satisfied only once by the elements of the given Iterable.Verifies that there is exactly one element in the iterable under tests that satisfies the |
| public SELF | Returns: this assertion object.the sequence of objects to look for. sequence)Verifies that the actual group starts with the given sequence of objects, without any other objects between them. |