org.fest.assertions.error
Class ShouldHaveNoCause

java.lang.Object
  extended by org.fest.assertions.error.BasicErrorMessageFactory
      extended by 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

Method Summary
static ErrorMessageFactory shouldHaveNoCause(Throwable actual)
          Creates a new ShouldHaveNoCause.
 
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.