public class ShouldNotContainSequence extends BasicErrorMessageFactory
String
.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotContainSequence(Object actual,
Object sequence,
int index)
Creates a new
. |
static ErrorMessageFactory |
shouldNotContainSequence(Object actual,
Object sequence,
int index,
ComparisonStrategy comparisonStrategy)
Creates a new
. |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotContainSequence(Object actual, Object sequence, int index, ComparisonStrategy comparisonStrategy)
ShouldNotContainSequence
.actual
- the actual value in the failed assertion.sequence
- the sequence of values expected to be in actual
.index
- the index where the sequence was found in actual.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotContainSequence(Object actual, Object sequence, int index)
ShouldNotContainSequence
.actual
- the actual value in the failed assertion.sequence
- the sequence of values expected to be in actual
.index
- the index where the sequence was found.ErrorMessageFactory
.Copyright © 2013–2017 AssertJ. All rights reserved.