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

public Class ShouldNotBePrimitive

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that a class is (or not) a primitive data type, i.e, byte, short, int, long, float, double, char and boolean.
Author
Manuel Gutierrez

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 BasicErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldNotBePrimitive
(Class<?>
the actual value in the failed assertion.
actual
)

Creates a new instance of ShouldNotBePrimitive.

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

Constructor Detail

ShouldNotBePrimitiveback to summary
private ShouldNotBePrimitive(Class<?> actual)

Method Detail

shouldNotBePrimitiveback to summary
public static BasicErrorMessageFactory shouldNotBePrimitive(Class<?> actual)

Creates a new instance of ShouldNotBePrimitive.

Parameters
actual:Class<?>

the actual value in the failed assertion.

Returns:BasicErrorMessageFactory

the created ErrorMessageFactory.