Uses of Class
org.fest.assertions.ThrowableAssert

Uses of ThrowableAssert in org.fest.assertions
 

Methods in org.fest.assertions that return ThrowableAssert
 ThrowableAssert ThrowableAssert.as(Description description)
          Sets the description of the actual value, to be used in as message of any AssertionError thrown when an assertion fails.
 ThrowableAssert ThrowableAssert.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 ThrowableAssert Assertions.assertThat(Throwable actual)
          Creates a new instance of ThrowableAssert.
 ThrowableAssert ThrowableAssert.describedAs(Description description)
          Alias for GenericAssert.as(Description), since "as" is a keyword in Groovy.
 ThrowableAssert ThrowableAssert.describedAs(String description)
          Alias for GenericAssert.as(String), since "as" is a keyword in Groovy.
 ThrowableAssert ThrowableAssert.hasMessage(String message)
          Verifies that the message of the actual Throwable is equal to the given one.
 ThrowableAssert ThrowableAssert.hasNoCause()
          Verifies that the actual Throwable does not have a cause.
 ThrowableAssert ThrowableAssert.isExactlyInstanceOf(Class<?> type)
          Verifies that the actual Throwable is an instance of the given type.
 ThrowableAssert ThrowableAssert.isInstanceOf(Class<? extends Throwable> type)
          Verifies that the actual Throwable is an instance of the given type.
 ThrowableAssert ThrowableAssert.overridingErrorMessage(String message)
          Replaces the default message displayed in case of a failure with the given one.
 



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