public class ShouldBeInstanceOfAny extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeInstanceOfAny(Object actual,
Class<?>[] types)
Creates a new
ShouldBeInstanceOfAny. |
create, create, create, equals, hashCode, toString, unquotedStringpublic 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–2016 AssertJ. All rights reserved.