Package org.assertj.core.error
Class ShouldHaveNoPackage
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldHaveNoPackage
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a class has no package failed.
-
Field Summary
FieldsFields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldHaveNoPackage
(Class<?> actual) Creates a new
.ShouldHaveNoPackage
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Field Details
-
SHOULD_HAVE_NO_PACKAGE
-
-
Constructor Details
-
ShouldHaveNoPackage
-
-
Method Details
-
shouldHaveNoPackage
Creates a new
.ShouldHaveNoPackage
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-