@Test
public void testWriterOnIfaceCenum() throws GeDAException {
final TestSynthesizerByInterface dto = new TestSynthesizerByClass();
final DataWriter writer = new MethodSynthesizerProxy(this.getClass().getClassLoader(), this.synthesizer).synthesizeWriter(
PropertyInspector.getDtoPropertyDescriptorForField(
TestDto1Interface.class, "enum",
PropertyInspector.getPropertyDescriptorsForClass(TestSynthesizerByInterface.class)
)
);
assertEquals(EnumVal.class, writer.getParameterType());
writer.write(dto, EnumVal.Three);
assertEquals(EnumVal.Three, dto.getEnum());
}