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

public Class ElementsShouldNotBe

extends BasicErrorMessageFactory
Class Inheritance
Imports
org.assertj.core.api.Condition

Creates an error message indicating that an assertion that not verifies that each element of a group satisfies a Condition A group of elements can be a collection, an array.
Authors
Nicolas François, Mikhail Mazursky, Joel Costigliola

Field Summary

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

Constructor Summary

AccessConstructor and Description
private
ElementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
elementsShouldNotBe
(Object
the actual value in the failed assertion.
actual
,
Object
elements that satisfies the condition
satisfies
,
Condition<?>
the Condition.
condition
)

Creates a new ElementsShouldNotBe.

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

Constructor Detail

ElementsShouldNotBeback to summary
private ElementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)

Method Detail

elementsShouldNotBeback to summary
public static ErrorMessageFactory elementsShouldNotBe(Object actual, Object satisfies, Condition<?> condition)

Creates a new ElementsShouldNotBe.

Parameters
actual:Object

the actual value in the failed assertion.

satisfies:Object

elements that satisfies the condition

condition:Condition<?>

the Condition.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.