public class ShouldNotBeInstance extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotBeInstance(Object actual,
Class<?> type)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldNotBeInstance(Object actual, Class<?> type)
ShouldNotBeInstance.actual - the actual value in the failed assertion.type - the type actual is expected to belong to.ErrorMessageFactory.Copyright © 2013–2018 AssertJ. All rights reserved.