Uses of Class
org.fest.assertions.ObjectAssert

Uses of ObjectAssert in org.fest.assertions
 

Methods in org.fest.assertions that return ObjectAssert
 ObjectAssert ObjectAssert.as(Description description)
          Sets the description of the actual value, to be used in as message of any AssertionError thrown when an assertion fails.
 ObjectAssert ObjectAssert.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 ObjectAssert Assertions.assertThat(Object actual)
          Creates a new instance of ObjectAssert.
 ObjectAssert ObjectAssert.describedAs(Description description)
          Alias for GenericAssert.as(Description), since "as" is a keyword in Groovy.
 ObjectAssert ObjectAssert.describedAs(String description)
          Alias for GenericAssert.as(String), since "as" is a keyword in Groovy.
 ObjectAssert ObjectAssert.doesNotSatisfy(Condition<Object> condition)
          Verifies that the actual Object does not satisfy the given condition.
 ObjectAssert ObjectAssert.is(Condition<Object> condition)
          Alias for satisfies(Condition).
 ObjectAssert ObjectAssert.isEqualTo(Object expected)
          Verifies that the actual Object is equal to the given one.
 ObjectAssert ObjectAssert.isInstanceOf(Class<?> type)
          Verifies that the actual Object is an instance of the given type.
 ObjectAssert ObjectAssert.isInstanceOfAny(Class<?>... types)
          Verifies that the actual Object is an instance of any of the given types.
 ObjectAssert ObjectAssert.isNot(Condition<Object> condition)
          Alias for doesNotSatisfy(Condition).
 ObjectAssert ObjectAssert.isNotEqualTo(Object other)
          Verifies that the actual Object is not equal to the given one.
 ObjectAssert ObjectAssert.isNotNull()
          Verifies that the actual Object is not null.
 ObjectAssert ObjectAssert.isNotSameAs(Object other)
          Verifies that the actual Object is not the same as the given one.
 ObjectAssert ObjectAssert.isSameAs(Object expected)
          Verifies that the actual Object is the same as the given one.
 ObjectAssert ObjectAssert.overridingErrorMessage(String message)
          Replaces the default message displayed in case of a failure with the given one.
 ObjectAssert ObjectAssert.satisfies(Condition<Object> condition)
          Verifies that the actual Object satisfies the given condition.
 



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