Package org.fest.assertions.error
Class ShouldNotHaveSameClass
- java.lang.Object
-
- org.fest.assertions.error.BasicErrorMessageFactory
-
- org.fest.assertions.error.ShouldNotHaveSameClass
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotHaveSameClass extends BasicErrorMessageFactory
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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactoryshouldNotHaveSameClass(java.lang.Object actual, java.lang.Object other)Creates a newShouldNotHaveSameClass.-
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
-
-
-
Method Detail
-
shouldNotHaveSameClass
public static ErrorMessageFactory shouldNotHaveSameClass(java.lang.Object actual, java.lang.Object other)
Creates a newShouldNotHaveSameClass.- Parameters:
actual- the actual value in the failed assertion.other- the typeactualis expected to be.- Returns:
- the created
ErrorMessageFactory.
-
-