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 aFile
should have name.- Author:
- Jean-Christophe Gay
-
-
Field Summary
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShouldHaveName
shouldHaveName(File actual, String expectedName)
static ShouldHaveName
shouldHaveName(Path actual, String expectedName)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldHaveName
public static ShouldHaveName shouldHaveName(File actual, String expectedName)
-
shouldHaveName
public static ShouldHaveName shouldHaveName(Path actual, String expectedName)
-
-