public class ShouldContainValue extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldContainValue(Object actual,
Condition<?> valueCondition)
Creates a new
. |
static ErrorMessageFactory |
shouldContainValue(Object actual,
Object value)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldContainValue(Object actual, Object value)
ShouldContainValue
.actual
- the actual value in the failed assertion.value
- the value not foundErrorMessageFactory
.public static ErrorMessageFactory shouldContainValue(Object actual, Condition<?> valueCondition)
ShouldContainValue
.actual
- the actual map in the failed assertion.valueCondition
- value condition.ErrorMessageFactory
.Copyright © 2014–2019 AssertJ. All rights reserved.