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

public Class ShouldHaveName

extends BasicErrorMessageFactory
Class Inheritance
Imports
java.io.File, java.nio.file.Path

Creates an error message indicating that a File should have name.
Author
Jean-Christophe Gay

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
ShouldHaveName(File actual, String expectedName)

private
ShouldHaveName(Path actual, String expectedName)

Method Summary

Modifier and TypeMethod and Description
public static ShouldHaveName
shouldHaveName(File actual, String expectedName)

public static ShouldHaveName
shouldHaveName(Path actual, String expectedName)

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

Field Detail

SHOULD_HAVE_NAMEback to summary
private static final String SHOULD_HAVE_NAME

Constructor Detail

ShouldHaveNameback to summary
private ShouldHaveName(File actual, String expectedName)
ShouldHaveNameback to summary
private ShouldHaveName(Path actual, String expectedName)

Method Detail

shouldHaveNameback to summary
public static ShouldHaveName shouldHaveName(File actual, String expectedName)
shouldHaveNameback to summary
public static ShouldHaveName shouldHaveName(Path actual, String expectedName)