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

public Class ShouldContainValues

extends BasicErrorMessageFactory
Class Inheritance
Static Imports
org.assertj.core.error.ShouldContainValue.shouldContainValue

Creates an error message indicating that an assertion that verifies a map contains a values.
Author
Alexander Bischof

Field Summary

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

Constructor Summary

AccessConstructor and Description
private <V>
ShouldContainValues(Object actual, Set<V> values)

Method Summary

Modifier and TypeMethod and Description
public static <
value type
V
>
ErrorMessageFactory

Returns:

the created ErrorMessageFactory.
shouldContainValues
(Object
the actual value in the failed assertion.
actual
,
Set<V>
the expected values.
values
)

Creates a new ShouldContainValues.

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

Constructor Detail

ShouldContainValuesback to summary
private <V> ShouldContainValues(Object actual, Set<V> values)

Method Detail

shouldContainValuesback to summary
public static <V> ErrorMessageFactory shouldContainValues(Object actual, Set<V> values)

Creates a new ShouldContainValues.

Parameters
<V>
value type
actual:Object

the actual value in the failed assertion.

values:Set<V>

the expected values.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.