@Test
public void testDeepPropertyOneWay() throws Exception {
mapper = getMapper(new String[] { "dozerBeanMapping.xml" });
House house = newInstance(House.class);
Person owner = newInstance(Person.class);
owner.setYourName("myName");
house.setOwner(owner);
HomeDescription desc = mapper.map(house, HomeDescription.class);
assertEquals(desc.getDescription().getMyName(), "myName");
// make sure we don't map back
House house2 = mapper.map(desc, House.class);