public class ShouldNotBeOfClassIn extends BasicErrorMessageFactory
arguments, format, formatter
Modifier | Constructor and Description |
---|---|
private |
ShouldNotBeOfClassIn(java.lang.Object actual,
java.lang.Object types) |
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotBeOfClassIn(java.lang.Object actual,
java.lang.Object types)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
private ShouldNotBeOfClassIn(java.lang.Object actual, java.lang.Object types)
public static ErrorMessageFactory shouldNotBeOfClassIn(java.lang.Object actual, java.lang.Object types)
ShouldNotBeOfClassIn
.actual
- the actual value in the failed assertion.types
- contains the types actual
is not expected to be in.ErrorMessageFactory
.