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