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