* @throws GeDAException should not be thrown
*/
@Test
public void testWriterOnIfacePdb() throws GeDAException {
final TestSynthesizerByInterface dto = new TestSynthesizerByClass();
final DataWriter writer = new MethodSynthesizerProxy(this.getClass().getClassLoader(), this.synthesizer).synthesizeWriter(
PropertyInspector.getDtoPropertyDescriptorForField(
TestDto1Interface.class, "db",
PropertyInspector.getPropertyDescriptorsForClass(TestSynthesizerByInterface.class)
)
);
assertEquals(Double.class, writer.getParameterType());
writer.write(dto, DD_4);
assertEquals(DD_4, dto.getDb(), 0);
}