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

public Class ShouldHaveNoPackage

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.util.StringJoiner

Creates an error message indicating that an assertion that verifies that a class has no package failed.

Field Summary

Modifier and TypeField and Description
private static final String
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.
shouldHaveNoPackage
(Class<?>
the actual value in the failed assertion.
actual
)

Creates a new ShouldHaveNoPackage.

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

Field Detail

SHOULD_HAVE_NO_PACKAGEback to summary
private static final String SHOULD_HAVE_NO_PACKAGE

Constructor Detail

ShouldHaveNoPackageback to summary
private ShouldHaveNoPackage(Class<?> actual)

Method Detail

shouldHaveNoPackageback to summary
public static ErrorMessageFactory shouldHaveNoPackage(Class<?> actual)

Creates a new ShouldHaveNoPackage.

Parameters
actual:Class<?>

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.