public class ShouldBeValueType
extends org.assertj.core.error.BasicErrorMessageFactory
Modifier and Type | Method and Description |
---|---|
static org.assertj.core.error.ErrorMessageFactory |
shouldBeValueType(int index,
Value actual,
ValueType tested,
ValueType expected)
Creates a new
. |
static org.assertj.core.error.ErrorMessageFactory |
shouldBeValueType(Value actual,
ValueType tested,
ValueType expected)
Creates a new
. |
public static org.assertj.core.error.ErrorMessageFactory shouldBeValueType(Value actual, ValueType tested, ValueType expected)
ShouldBeValueType
.actual
- The actual value in the failed assertion.tested
- The tested type.expected
- The expected type.ErrorMessageFactory
.public static org.assertj.core.error.ErrorMessageFactory shouldBeValueType(int index, Value actual, ValueType tested, ValueType expected)
ShouldBeValueType
.index
- The index of the value.actual
- The actual value in the failed assertion.tested
- The tested type.expected
- The expected type.ErrorMessageFactory
.Copyright © 2020 AssertJ. All rights reserved.