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