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