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

public Class ShouldBeFile

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.io.File

Creates an error message indicating that an assertion that verifies that a File is an existing file failed.
Author
Yvonne Wang

Field Summary

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.
shouldBeFile
(File
the actual value in the failed assertion.
actual
)

Creates a new ShouldBeFile.

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

Constructor Detail

ShouldBeFileback to summary
private ShouldBeFile(File actual)

Method Detail

shouldBeFileback to summary
public static ErrorMessageFactory shouldBeFile(File actual)

Creates a new ShouldBeFile.

Parameters
actual:File

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.