public class ShouldBeFile extends BasicErrorMessageFactory
File
is an existing file
failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeFile(File actual)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeFile(File actual)
ShouldBeFile
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2013–2017 AssertJ. All rights reserved.