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