StringValueConverter extends AbstractValueConverter<String> { @Override public String convertValue(Value value, Thing thing, Class<? extends String> desiredType) throws ValueConversionException { return value.stringValue(); } StringValueConverter(); @Override String convertValue(Value value, Thing thing, Class<? extends String> desiredType); @Override Value convertType(String type, Thing thing);  }
@Test public void testEmpty() { TestCase.assertEquals("", valueConverter.convertValue(valueFactory.createLiteral(""), null, type)); }