Package org.assertj.db.error
Class ShouldBeCompatible
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.assertj.db.error.ShouldBeCompatible
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldBeCompatible
extends org.assertj.core.error.BasicErrorMessageFactory
Creates an error message indicating that an assertion that verifies that a value is compatible with a value.
- 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.ErrorMessageFactoryshouldBeCompatible(Value actual, Object expected) Creates a new.ShouldBeCompatibleMethods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeCompatible
public static org.assertj.core.error.ErrorMessageFactory shouldBeCompatible(Value actual, Object expected) Creates a new.ShouldBeCompatible- Parameters:
actual- The actual value in the failed assertion.expected- The expected value to compare to.- Returns:
- the created
ErrorMessageFactory.
-