Package org.fest.assertions.error
Class ShouldNotHaveSameClass
java.lang.Object
org.fest.assertions.error.BasicErrorMessageFactory
org.fest.assertions.error.ShouldNotHaveSameClass
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that an object has same class as another instance failed.
- Author:
- Nicolas François
-
Field Summary
Fields inherited from class org.fest.assertions.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldNotHaveSameClass
(Object actual, Object other) Creates a newShouldNotHaveSameClass
.Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
Method Details
-
shouldNotHaveSameClass
Creates a newShouldNotHaveSameClass
.- Parameters:
actual
- the actual value in the failed assertion.other
- the typeactual
is expected to be.- Returns:
- the created
ErrorMessageFactory
.
-