final DtoChildInterface childDto = new DtoChildClass();
final Assembler assembler =
DTOAssembler.newAssembler(childDto.getClass(), childEntity.getClass());
assembler.assembleDto(childDto, childEntity, null, createDtoBeanFactory());
assertEquals(childName, childDto.getName());
assertNotNull(childDto.getParent());
assertEquals(parentName, childDto.getParent().getName());
assertEquals(Long.valueOf(3L), Long.valueOf(childDto.getParent().getEntityId()));