Package org.assertj.core.error
Class ShouldBeExecutable
- java.lang.Object
-
- org.assertj.core.error.BasicErrorMessageFactory
-
- org.assertj.core.error.ShouldBeExecutable
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeExecutable extends BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a
is executable failed.File
- Author:
- Olivier Demeijer
-
-
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 ErrorMessageFactory
shouldBeExecutable(File actual)
Creates a new
.ShouldBeExecutable
static ErrorMessageFactory
shouldBeExecutable(Path actual)
-
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
-
-
-
Method Detail
-
shouldBeExecutable
public static ErrorMessageFactory shouldBeExecutable(File actual)
Creates a new
.ShouldBeExecutable
- Parameters:
actual
- the actual value in the failed assertion.- Returns:
- the created
ErrorMessageFactory
.
-
shouldBeExecutable
public static ErrorMessageFactory shouldBeExecutable(Path actual)
-
-