public class ShouldContainsValue
extends org.assertj.core.error.BasicErrorMessageFactory
Modifier and Type | Method and Description |
---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldContainsValue(int index)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
shouldContainsValue(Object actual,
Object expected,
Object value,
int index)
Creates a new
. |
public static org.assertj.core.error.ErrorMessageFactory shouldContainsValue(Object actual, Object expected, Object value, int index)
ShouldContainsValue
.actual
- The actual values in the failed assertion.expected
- The expected values to compare to.value
- The value which is not found.index
- The index of the value which is not found.ErrorMessageFactory
.public static org.assertj.core.error.ErrorMessageFactory shouldContainsValue(int index)
ShouldContainsValue
.index
- The index of the value which is not found.ErrorMessageFactory
.Copyright © 2020 AssertJ. All rights reserved.