public class ShouldNotBeEqual extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotBeEqual(Object actual,
Object other)
Creates a new
. |
static ErrorMessageFactory |
shouldNotBeEqual(Object actual,
Object other,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldNotBeEqual(Object actual, 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(Object actual, 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.Copyright © 2014–2017 AssertJ. All rights reserved.