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

public Class ShouldContainNull

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that an assertion that verifies a group of elements contains a null element failed. A group of elements can be a collection or an array.
Author
Joel Costigliola

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 ErrorMessageFactory.
shouldContainNull
(Object
the actual value in the failed assertion.
actual
)

Creates a new ShouldContainNull.

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

Constructor Detail

ShouldContainNullback to summary
private ShouldContainNull(Object actual)

Method Detail

shouldContainNullback to summary
public static ErrorMessageFactory shouldContainNull(Object actual)

Creates a new ShouldContainNull.

Parameters
actual:Object

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.