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