Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldNotBeOfClassIn

extends BasicErrorMessageFactory
Class Inheritance

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

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldNotBeOfClassIn
(Object
the actual value in the failed assertion.
actual
,
Object
contains the types actual is not expected to be in.
types
)

Creates a new ShouldNotBeOfClassIn.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldNotBeOfClassInback to summary
private ShouldNotBeOfClassIn(Object actual, Object types)

Method Detail

shouldNotBeOfClassInback to summary
public static ErrorMessageFactory shouldNotBeOfClassIn(Object actual, Object types)

Creates a new ShouldNotBeOfClassIn.

Parameters
actual:Object

the actual value in the failed assertion.

types:Object

contains the types actual is not expected to be in.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.