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