@Test
public void testKeyForTarget() {

    DataObject t = mock(DataObject.class);
    when(t.readProperty("abc")).thenReturn(44);
    when(t.readNestedProperty("abc")).thenReturn(44);
    assertEquals(44, mapper.keyForTarget(t));
}