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