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