public class ShouldBeIn extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldBeIn(Object actual,
Object values)
Creates a new
. |
static ErrorMessageFactory |
shouldBeIn(Object actual,
Object values,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldBeIn(Object actual, Object values, ComparisonStrategy comparisonStrategy)
ShouldBeIn
.actual
- the actual value in the failed assertion.values
- the group of values where actual
is expected to be in.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldBeIn(Object actual, Object values)
ShouldBeIn
.actual
- the actual value in the failed assertion.values
- the group of values where actual
is expected to be in.ErrorMessageFactory
.Copyright © 2014-2015 AssertJ. All Rights Reserved.