Package org.assertj.db.error
Class ShouldBeValueTypeOfAny
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldBeValueTypeOfAny
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldBeValueTypeOfAny
extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value is of any types.
- Author:
- Régis Pouiller
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format -
Method Summary
Modifier and TypeMethodDescriptionstatic org.assertj.core.error.ErrorMessageFactoryshouldBeValueTypeOfAny(int index, Value actual, ValueType tested, ValueType... expected) Creates a new.ShouldBeValueTypeOfAnystatic org.assertj.core.error.ErrorMessageFactoryshouldBeValueTypeOfAny(Value actual, ValueType tested, ValueType... expected) Creates a new.ShouldBeValueTypeOfAnyMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeValueTypeOfAny
public static org.assertj.core.error.ErrorMessageFactory shouldBeValueTypeOfAny(Value actual, ValueType tested, ValueType... expected) Creates a new.ShouldBeValueTypeOfAny- Parameters:
actual- The actual value in the failed assertion.tested- The tested type.expected- The expected types.- Returns:
- the created
ErrorMessageFactory.
-
shouldBeValueTypeOfAny
public static org.assertj.core.error.ErrorMessageFactory shouldBeValueTypeOfAny(int index, Value actual, ValueType tested, ValueType... expected) Creates a new.ShouldBeValueTypeOfAny- Parameters:
index- The index of the value.actual- The actual value in the failed assertion.tested- The tested type.expected- The expected types.- Returns:
- the created
ErrorMessageFactory.
-