public class ShouldBeAtIndex extends BasicErrorMessageFactory
Condition
failed.arguments, format
Modifier and Type | Method and Description |
---|---|
static <T> ErrorMessageFactory |
shouldBeAtIndex(List<? extends T> actual,
Condition<? super T> condition,
Index index,
T found)
Creates a new
ShouldBeAtIndex . |
create, create, create, equals, hashCode, toString, unquotedString
public static <T> ErrorMessageFactory shouldBeAtIndex(List<? extends T> actual, Condition<? super T> condition, Index index, T found)
ShouldBeAtIndex
.T
- guarantees that the type of the actual value and the generic type of the Condition
are the same.actual
- the actual value in the failed assertion.condition
- the Condition
.index
- the index of the expected value.found
- the value in actual
stored under index
.ErrorMessageFactory
.Copyright © 2014–2016 AssertJ. All rights reserved.