org.fest.assertions.error
Class ShouldHaveNoCause
java.lang.Object
org.fest.assertions.error.BasicErrorMessageFactory
org.fest.assertions.error.ShouldHaveNoCause
- All Implemented Interfaces:
- ErrorMessageFactory
public class ShouldHaveNoCause
- extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that an Throwable
has no cause failed.
- Author:
- Joel Costigliola
shouldHaveNoCause
public static ErrorMessageFactory shouldHaveNoCause(Throwable actual)
- Creates a new
ShouldHaveNoCause
.
- Parameters:
actual
- the actual value in the failed assertion.
- Returns:
- the created
ErrorMessageFactory
.
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.