Package org.assertj.core.error
Class ShouldBeRegularFile
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeRegularFile
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeRegularFile extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that aPath
is a regular file has failed.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SHOULD_BE_REGULAR_FILE
-
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format, formatter
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ShouldBeRegularFile(Path actual)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldBeRegularFile(Path actual)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Field Detail
-
SHOULD_BE_REGULAR_FILE
public static final String SHOULD_BE_REGULAR_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShouldBeRegularFile
private ShouldBeRegularFile(Path actual)
-
-
Method Detail
-
shouldBeRegularFile
public static ErrorMessageFactory shouldBeRegularFile(Path actual)
-
-