Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeNullOrEmpty

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies a group of elements is null or empty failed. A group of elements can be a collection, an array or a String.
Authors
Alex Ruiz, Yvonne Wang

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created of ErrorMessageFactory.
shouldBeNullOrEmpty
(Object
the actual value in the failed assertion.
actual
)

Creates a new instance of ShouldBeNullOrEmpty.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldBeNullOrEmptyback to summary
private ShouldBeNullOrEmpty(Object actual)

Method Detail

shouldBeNullOrEmptyback to summary
public static ErrorMessageFactory shouldBeNullOrEmpty(Object actual)

Creates a new instance of ShouldBeNullOrEmpty.

Parameters
actual:Object

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created of ErrorMessageFactory.