public class ShouldBeInstanceOfAny extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeInstanceOfAny(Object actual,
Class<?>[] types)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeInstanceOfAny(Object actual, Class<?>[] types)
ShouldBeInstanceOfAny
.actual
- the actual value in the failed assertion.types
- contains the type or types actual
is expected to belong to.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.