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

public Class ShouldBeRecord

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies that a class is (or not) a record.
Author
Louis Morgan

Field Summary

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

Constructor Summary

AccessConstructor and Description
private
ShouldBeRecord(Class<?> actual, boolean toBeOrNotToBe)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

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

Creates a new ShouldBeRecord.

public static ErrorMessageFactory

Returns:

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

Creates a new ShouldBeRecord.

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

Constructor Detail

ShouldBeRecordback to summary
private ShouldBeRecord(Class<?> actual, boolean toBeOrNotToBe)

Method Detail

shouldBeRecordback to summary
public static ErrorMessageFactory shouldBeRecord(Class<?> actual)

Creates a new ShouldBeRecord.

Parameters
actual:Class<?>

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.

shouldNotBeRecordback to summary
public static ErrorMessageFactory shouldNotBeRecord(Class<?> actual)

Creates a new ShouldBeRecord.

Parameters
actual:Class<?>

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.