@Test void convertInvalid() { Throwable exception = assertThrows(ConversionException.class, () -> this.colorConverter.convert(Color.class, "wrongformat")); assertEquals("Color value should be in the form of '#xxxxxx' or 'r,g,b'", exception.getMessage()); }
@Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }
DeprecatedColorConverter implements Converter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); } }
DeprecatedColorConverter implements Converter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }  }
DeprecatedColorConverter implements Converter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }  @Override Object convert(Type targetType, Object sourceValue); }
DeprecatedColorConverter implements Converter { @Override public Object convert(Type targetType, Object sourceValue) { return this.converter.convert(targetType, sourceValue); }  @Override Object convert(Type targetType, Object sourceValue);  }