public class ShouldNotHaveSameClass extends BasicErrorMessageFactory
arguments, format, formatter| Modifier | Constructor and Description |
|---|---|
private |
ShouldNotHaveSameClass(java.lang.Object actual,
java.lang.Object other) |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotHaveSameClass(java.lang.Object actual,
java.lang.Object other)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringprivate ShouldNotHaveSameClass(java.lang.Object actual,
java.lang.Object other)
public static ErrorMessageFactory shouldNotHaveSameClass(java.lang.Object actual, java.lang.Object other)
ShouldNotHaveSameClass.actual - the actual value in the failed assertion.other - the type actual is expected to be.ErrorMessageFactory.