Package org.fest.assertions.error
Class ShouldNotBeOfClassIn
- java.lang.Object
-
- org.fest.assertions.error.BasicErrorMessageFactory
-
- org.fest.assertions.error.ShouldNotBeOfClassIn
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldNotBeOfClassIn extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that an object is not of type in group of types 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 ErrorMessageFactory
shouldNotBeOfClassIn(java.lang.Object actual, java.lang.Object types)
Creates a newShouldNotBeOfClassIn
.-
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
-
-
-
Method Detail
-
shouldNotBeOfClassIn
public static ErrorMessageFactory shouldNotBeOfClassIn(java.lang.Object actual, java.lang.Object types)
Creates a newShouldNotBeOfClassIn
.- Parameters:
actual
- the actual value in the failed assertion.types
- contains the typesactual
is not expected to be in.- Returns:
- the created
ErrorMessageFactory
.
-
-