public void testReaderOnIfaceCdb() throws GeDAException {
final TestSynthesizerByInterface dto = new TestSynthesizerByClass();
dto.setDbo(DD_4);
final DataReader reader = new MethodSynthesizerProxy(this.getClass().getClassLoader(), this.synthesizer).synthesizeReader(
PropertyInspector.getDtoPropertyDescriptorForField(
TestDto1Interface.class, "dbo",
PropertyInspector.getPropertyDescriptorsForClass(TestSynthesizerByInterface.class)
)
);
assertEquals(Double.class, reader.getReturnType());
assertEquals(DD_4, reader.read(dto));
}