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