Package org.assertj.core.error
Class ShouldBeSealed
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.core.error.ShouldBeSealed
- All Implemented Interfaces:
ErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a class is (or not) sealed.
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorMessageFactory
shouldBeSealed
(Class<?> actual) Creates a new
.ShouldBeSealed
static ErrorMessageFactory
shouldNotBeSealed
(Class<?> actual) Creates a new
.ShouldBeSealed
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeSealed
Creates a new
.ShouldBeSealed
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
shouldNotBeSealed
Creates a new
.ShouldBeSealed
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-