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