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, equals, hashCode, toString
public static ErrorMessageFactory shouldBeNullOrEmpty(Object actual)
ShouldBeNullOrEmpty
.actual
- the actual value in the failed assertion.ErrorMessageFactory
.Copyright © 2013 AssertJ. All Rights Reserved.