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

public Class ShouldHaveNoSuperclass

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.util.StringJoiner

Creates an error message indicating that an assertion that verifies that a class has no superclass failed.
Author
Stefano Cordio

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.
shouldHaveNoSuperclass
(Class<?>
the actual value in the failed assertion.
actual
)

Creates a new ShouldHaveNoSuperclass.

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

Field Detail

SHOULD_HAVE_NO_SUPERCLASSback to summary
private static final String SHOULD_HAVE_NO_SUPERCLASS

Constructor Detail

ShouldHaveNoSuperclassback to summary
private ShouldHaveNoSuperclass(Class<?> actual)

Method Detail

shouldHaveNoSuperclassback to summary
public static ErrorMessageFactory shouldHaveNoSuperclass(Class<?> actual)

Creates a new ShouldHaveNoSuperclass.

Parameters
actual:Class<?>

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.