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