|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of CollectionAssert in org.fest.assertions |
---|
Methods in org.fest.assertions that return CollectionAssert | |
---|---|
CollectionAssert |
CollectionAssert.as(Description description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
CollectionAssert |
CollectionAssert.as(String description)
Sets the description of the actual value, to be used in as message of any
thrown when an assertion fails. |
static CollectionAssert |
Assertions.assertThat(Collection<?> actual)
Creates a new instance of . |
static CollectionAssert |
Assertions.assertThat(Iterator<?> actual)
Creates a new instance of . |
CollectionAssert |
CollectionAssert.contains(Object... objects)
Verifies that the actual collection contains the given objects. |
CollectionAssert |
CollectionAssert.containsOnly(Object... objects)
Verifies that the actual collection contains the given objects only. |
CollectionAssert |
CollectionAssert.describedAs(Description description)
Alias for , since "as" is a keyword in
Groovy. |
CollectionAssert |
CollectionAssert.describedAs(String description)
Alias for , since "as" is a keyword in
Groovy. |
CollectionAssert |
CollectionAssert.doesNotHaveDuplicates()
Verifies that the actual collection does not have duplicates. |
CollectionAssert |
CollectionAssert.doesNotSatisfy(Condition<Collection<?>> condition)
Verifies that the actual collection does not satisfy the given condition. |
CollectionAssert |
CollectionAssert.excludes(Object... objects)
Verifies that the actual collection does not contain the given objects. |
CollectionAssert |
CollectionAssert.hasSize(int expected)
Verifies that the number of elements in the actual collection is equal to the given one. |
CollectionAssert |
CollectionAssert.is(Condition<Collection<?>> condition)
Alias for . |
CollectionAssert |
CollectionAssert.isEqualTo(Collection<?> expected)
Verifies that the actual collection is equal to the given one. |
CollectionAssert |
CollectionAssert.isNot(Condition<Collection<?>> condition)
Alias for . |
CollectionAssert |
CollectionAssert.isNotEmpty()
Verifies that the actual collection contains at least on element. |
CollectionAssert |
CollectionAssert.isNotEqualTo(Collection<?> other)
Verifies that the actual collection is not equal to the given one. |
CollectionAssert |
CollectionAssert.isNotNull()
Verifies that the actual collection is not null . |
CollectionAssert |
CollectionAssert.isNotSameAs(Collection<?> other)
Verifies that the actual collection is not the same as the given one. |
CollectionAssert |
CollectionAssert.isSameAs(Collection<?> expected)
Verifies that the actual collection is the same as the given one. |
CollectionAssert |
CollectionAssert.overridingErrorMessage(String message)
Replaces the default message displayed in case of a failure with the given one. |
CollectionAssert |
CollectionAssert.satisfies(Condition<Collection<?>> condition)
Verifies that the actual collection satisfies the given condition. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |