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