Assert.assertEquals("value", element.get("key"));
}
@Test(expected = ConstrettoException.class)
public void testIllegalDataTypeConversion() throws Exception {
ValueConverterRegistry.convert(String.class, String.class, new CValue() {
@Override
public Set<String> referencedKeys() {
return null; //To change body of implemented methods use File | Settings | File Templates.
}