public class ShouldBeIn extends BasicErrorMessageFactory
arguments, format| Modifier and Type | Method and Description |
|---|---|
static ErrorMessageFactory |
shouldBeIn(java.lang.Object actual,
java.lang.Object values)
Creates a new
. |
static ErrorMessageFactory |
shouldBeIn(java.lang.Object actual,
java.lang.Object values,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, equals, hashCode, toStringpublic static ErrorMessageFactory shouldBeIn(java.lang.Object actual, java.lang.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(java.lang.Object actual, java.lang.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 © 2007–2018. All rights reserved.