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

public Class ShouldBeRegularFile

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.nio.file.Path, org.assertj.core.util.VisibleForTesting

Creates an error message indicating that an assertion that verifies that a Path is a regular file has failed.

Field Summary

Modifier and TypeField and Description
public static final String
Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private
ShouldBeRegularFile(final Path actual)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory
shouldBeRegularFile(final Path actual)

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

Field Detail

SHOULD_BE_REGULAR_FILEback to summary
public static final String SHOULD_BE_REGULAR_FILE
Annotations
@VisibleForTesting

Constructor Detail

ShouldBeRegularFileback to summary
private ShouldBeRegularFile(final Path actual)

Method Detail

shouldBeRegularFileback to summary
public static ErrorMessageFactory shouldBeRegularFile(final Path actual)