Package org.xmlunit.assertj.error
Class ShouldBeConvertible
java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.xmlunit.assertj.error.ShouldBeConvertible
- All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory
public class ShouldBeConvertible
extends org.assertj.core.error.BasicErrorMessageFactory
- Since:
- XMLUnit 2.6.1
-
Field Summary
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
-
Method Summary
Modifier and TypeMethodDescriptionstatic ShouldBeConvertible
shouldBeConvertible
(String value, String targetType) Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, create, equals, hashCode, toString, unquotedString
-
Method Details
-
shouldBeConvertible
- Parameters:
value
- the actual valuetargetType
- the expected target type- Returns:
- ErrorMessageFactory when value can not be converted to expected target
-