storeInGraph(emil);
michael.setHeight((short)182);
michael.setPersonality(Personality.EXTROVERT);
michael.setBoss(emil);
storeInGraph(michael);
final Person loaded = template.findOne(michael.getId(), Person.class);
assertEquals("loaded id", michael.getId(),loaded.getId());
assertEquals("loaded simple property", michael.getName(),loaded.getName());
assertEquals("loaded simple short property", michael.getHeight(),loaded.getHeight());
assertEquals("loaded simple converted property", michael.getPersonality(),loaded.getPersonality());
final Person boss = loaded.getBoss();
assertNotNull("instance non-fetch relationship", boss);
assertEquals("id of non-fetch relationship", emil.getId(), boss.getId());
assertNull("no properties of non-fetch relationship", boss.getName());
}