Package org.assertj.db.error
Class ShouldBeValueType
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldBeValueType
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldBeValueType
extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value is of a type.
- 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.ErrorMessageFactoryshouldBeValueType(int index, Value actual, ValueType tested, ValueType expected) Creates a new.ShouldBeValueTypestatic org.assertj.core.error.ErrorMessageFactoryshouldBeValueType(Value actual, ValueType tested, ValueType expected) Creates a new.ShouldBeValueTypeMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeValueType
public static org.assertj.core.error.ErrorMessageFactory shouldBeValueType(Value actual, ValueType tested, ValueType expected) Creates a new.ShouldBeValueType- Parameters:
actual- The actual value in the failed assertion.tested- The tested type.expected- The expected type.- Returns:
- the created
ErrorMessageFactory.
-
shouldBeValueType
public static org.assertj.core.error.ErrorMessageFactory shouldBeValueType(int index, Value actual, ValueType tested, ValueType expected) Creates a new.ShouldBeValueType- Parameters:
index- The index of the value.actual- The actual value in the failed assertion.tested- The tested type.expected- The expected type.- Returns:
- the created
ErrorMessageFactory.
-