public class ShouldNotContainAtIndex extends BasicErrorMessageFactory
String
.ComparisonStrategy
if the default one is not used.arguments, format
Modifier and Type | Method and Description |
---|---|
static ErrorMessageFactory |
shouldNotContainAtIndex(Object actual,
Object expected,
Index index)
Creates a new
ShouldNotContainAtIndex . |
static ErrorMessageFactory |
shouldNotContainAtIndex(Object actual,
Object expected,
Index index,
ComparisonStrategy comparisonStrategy)
Creates a new
ShouldNotContainAtIndex . |
create, create, create, equals, hashCode, toString, unquotedString
public static ErrorMessageFactory shouldNotContainAtIndex(Object actual, Object expected, Index index, ComparisonStrategy comparisonStrategy)
ShouldNotContainAtIndex
.actual
- the actual value in the failed assertion.expected
- value expected to be in actual
.index
- the index of the expected value.comparisonStrategy
- the ComparisonStrategy
used to evaluate assertion.ErrorMessageFactory
.public static ErrorMessageFactory shouldNotContainAtIndex(Object actual, Object expected, Index index)
ShouldNotContainAtIndex
.actual
- the actual value in the failed assertion.expected
- value expected to be in actual
.index
- the index of the expected value.ErrorMessageFactory
.Copyright © 2013–2017 AssertJ. All rights reserved.