Uses of Class
org.fest.assertions.ListAssert

Uses of ListAssert in org.fest.assertions
 

Methods in org.fest.assertions that return ListAssert
 ListAssert ListAssert.as(Description description)
          Sets the description of the actual value, to be used in as message of any AssertionError thrown when an assertion fails.
 ListAssert ListAssert.as(String description)
          Sets the description of the actual value, to be used in as message of any AssertionError thrown when an assertion fails.
static ListAssert Assertions.assertThat(List<?> actual)
          Creates a new instance of ListAssert.
 ListAssert ListAssert.contains(Object... objects)
          Verifies that the actual List contains the given objects, in any order.
 ListAssert ListAssert.contains(Object o, Index index)
          Verifies that the actual List contains the given object at the given index.
 ListAssert ListAssert.containsExactly(Object... objects)
          Verifies that the actual List contains the given objects, in the same order.
 ListAssert ListAssert.containsOnly(Object... objects)
          Verifies that the actual List contains the given objects only, in any order.
 ListAssert ListAssert.containsSequence(Object... sequence)
          Verifies that the actual List contains the given sequence of objects, without any other objects between them.
 ListAssert ListAssert.describedAs(Description description)
          Alias for GenericAssert.as(Description), since "as" is a keyword in Groovy.
 ListAssert ListAssert.describedAs(String description)
          Alias for GenericAssert.as(String), since "as" is a keyword in Groovy.
 ListAssert ListAssert.doesNotHaveDuplicates()
          Verifies that the actual List does not have duplicates.
 ListAssert ListAssert.doesNotSatisfy(Condition<List<?>> condition)
          Verifies that the actual List does not satisfy the given condition.
 ListAssert ListAssert.endsWith(Object... sequence)
          Verifies that the actual List ends with the given sequence of objects, without any other objects between them.
 ListAssert ListAssert.excludes(Object... objects)
          Verifies that the actual List does not contain the given objects.
 ListAssert ListAssert.hasSize(int expected)
          Verifies that the number of elements in the actual List is equal to the given one.
 ListAssert ListAssert.is(Condition<List<?>> condition)
          Alias for satisfies(Condition).
 ListAssert ListAssert.isEqualTo(List<?> expected)
          Verifies that the actual List is equal to the given one.
 ListAssert ListAssert.isNot(Condition<List<?>> condition)
          Alias for doesNotSatisfy(Condition).
 ListAssert ListAssert.isNotEmpty()
          Verifies that the actual List contains at least on element.
 ListAssert ListAssert.isNotEqualTo(List<?> other)
          Verifies that the actual List is not equal to the given one.
 ListAssert ListAssert.isNotNull()
          Verifies that the actual List is not null.
 ListAssert ListAssert.isNotSameAs(List<?> other)
          Verifies that the actual List is not the same as the given one.
 ListAssert ListAssert.isSameAs(List<?> expected)
          Verifies that the actual List is the same as the given one.
 ListAssert ListAssert.overridingErrorMessage(String message)
          Replaces the default message displayed in case of a failure with the given one.
 ListAssert ListAssert.satisfies(Condition<List<?>> condition)
          Verifies that the actual List satisfies the given condition.
 ListAssert ListAssert.startsWith(Object... sequence)
          Verifies that the actual List starts with the given sequence of objects, without any other objects between them.
 



Copyright © 2007-2010 FEST (Fixtures for Easy Software Testing). All Rights Reserved.