Package org.assertj.core.error
Class ShouldHaveName
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldHaveName
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldHaveName extends BasicErrorMessageFactory
Creates an error message indicating that aFileshould have name.- Author:
- Jean-Christophe Gay
-
-
Field Summary
Fields Modifier and Type Field Description private static StringSHOULD_HAVE_NAME-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateShouldHaveName(File actual, String expectedName)privateShouldHaveName(Path actual, String expectedName)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShouldHaveNameshouldHaveName(File actual, String expectedName)static ShouldHaveNameshouldHaveName(Path actual, String expectedName)-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_HAVE_NAME
private static final String SHOULD_HAVE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
shouldHaveName
public static ShouldHaveName shouldHaveName(File actual, String expectedName)
-
shouldHaveName
public static ShouldHaveName shouldHaveName(Path actual, String expectedName)
-
-