public class ShouldNotBeInstanceOfAny extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotBeInstanceOfAny(java.lang.Object actual,
java.lang.Class<?>[] types)
Creates a new
ShouldNotBeInstanceOfAny . |
create, equals, hashCode, toString
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
.Copyright © 2007–2018. All rights reserved.