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