org.fest.assertions.error
Class ShouldNotBeEqualImages

java.lang.Object
  extended by org.fest.assertions.error.ShouldNotBeEqualImages
All Implemented Interfaces:
ErrorMessageFactory

public class ShouldNotBeEqualImages
extends Object
implements ErrorMessageFactory

Creates an error message that indicates an assertion that verifies that two images should not be null failed.

Author:
Yvonne Wang

Method Summary
 String create(Description d)
          Creates a new error message as a result of a failed assertion.
static ErrorMessageFactory shouldNotBeEqualImages()
          Returns the singleton instance of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shouldNotBeEqualImages

public static ErrorMessageFactory shouldNotBeEqualImages()
Returns the singleton instance of this class.

Returns:
the singleton instance of this class.

create

public String create(Description d)
Creates a new error message as a result of a failed assertion.

Specified by:
create in interface ErrorMessageFactory
Parameters:
d - the description of the failed assertion.
Returns:
the created error message.


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