public class ShouldBeNullOrEmpty extends BasicErrorMessageFactory
null
or empty failed. A
group of elements can be a collection, an array or a String
.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeNullOrEmpty(Object actual)
Creates a new instance of
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeNullOrEmpty(Object actual)
ShouldBeNullOrEmpty
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.