this.applicationContext.getBean("annSimpleTransferableNoMatchService", TestNoMatchService.class);
assertCountersAreZero();
final Date time = new Date();
final ExtendedDataTransferObject dto = new AnnotatedExtendedDataTransferObjectImpl();
dto.setValue("dtoVal1");
dto.setValue2("dtoVal2");
dto.setTimestamp(time);
final DomainObject entity = new DomainObjectImpl();
service.dtoToEntityBeforeExact(dto, entity);
assertNull(entity.getValue());
assertNull(entity.getValue2());
assertNull(entity.getTimestamp());
assertEquals(dto.getValue(), "dtoVal1");
assertEquals(dto.getValue2(), "dtoVal2");
assertEquals(dto.getTimestamp(), time);
// final check counters
assertCounters(0, 0, 0, 0, 0, 0);
}