Class ShouldBeConvertible

java.lang.Object
org.assertj.core.error.BasicErrorMessageFactory
org.xmlunit.assertj3.error.ShouldBeConvertible
All Implemented Interfaces:
org.assertj.core.error.ErrorMessageFactory

public class ShouldBeConvertible extends org.assertj.core.error.BasicErrorMessageFactory
Since:
XMLUnit 2.8.1
  • Field Summary

    Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

    arguments, format
  • Method Summary

    Modifier and Type
    Method
    Description
    shouldBeConvertible(String value, String targetType)
     

    Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

    create, create, create, equals, hashCode, toString, unquotedString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • shouldBeConvertible

      public static ShouldBeConvertible shouldBeConvertible(String value, String targetType)
      Parameters:
      value - the actual value
      targetType - the expected target type
      Returns:
      ErrorMessageFactory when value can not be converted to expected target