public class ShouldNotBeIn extends BasicErrorMessageFactory
arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotBeIn(Object actual,
Object values)
Creates a new
. |
static ErrorMessageFactory |
shouldNotBeIn(Object actual,
Object values,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotBeIn(Object actual, Object values, ComparisonStrategy comparisonStrategy)
ShouldNotBeIn
.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 shouldNotBeIn(Object actual, Object values)
ShouldNotBeIn
.actual
- the actual value in the failed assertion.values
- the group of values where actual
is expected to be in.ErrorMessageFactory
.Copyright © 2013–2016 AssertJ. All rights reserved.