public class ShouldNotBeEqual extends BasicErrorMessageFactory
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldNotBeEqual(java.lang.Object actual,
java.lang.Object other,
ComparisonStrategy comparisonStrategy) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotBeEqual(java.lang.Object actual,
java.lang.Object other)
Creates a new
. |
static ErrorMessageFactory |
shouldNotBeEqual(java.lang.Object actual,
java.lang.Object other,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldNotBeEqual(java.lang.Object actual,
java.lang.Object other,
ComparisonStrategy comparisonStrategy)
public static ErrorMessageFactory shouldNotBeEqual(java.lang.Object actual, java.lang.Object other, ComparisonStrategy comparisonStrategy)
ShouldNotBeEqual.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.comparisonStrategy - the ComparisonStrategy used to compare actual with expected.ErrorMessageFactory.public static ErrorMessageFactory shouldNotBeEqual(java.lang.Object actual, java.lang.Object other)
ShouldNotBeEqual.actual - the actual value in the failed assertion.other - the value used in the failed assertion to compare the actual value to.ErrorMessageFactory.