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