public class ShouldNotBeEmpty extends BasicErrorMessageFactory
String, a File or a Path.arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldNotBeEmpty()
Returns the singleton instance of this class.
|
static ErrorMessageFactory |
shouldNotBeEmpty(File actual)
Creates a new
. |
static ErrorMessageFactory |
shouldNotBeEmpty(Path actual)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedStringpublic static ErrorMessageFactory shouldNotBeEmpty()
public static ErrorMessageFactory shouldNotBeEmpty(File actual)
ShouldNotBeEmpty.actual - the actual file in the failed assertion.ErrorMessageFactory.public static ErrorMessageFactory shouldNotBeEmpty(Path actual)
ShouldNotBeEmpty.actual - the actual path in the failed assertion.ErrorMessageFactory.Copyright © 2025. All rights reserved.