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