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