@Transactional
public void testProjectGroupToNamed() {
Group group = persist(new Group());
group.setName("developers");
Named named = neo4jTemplate.projectTo(group,Named.class);
assertEquals("named.name","developers", named.getName());
assertEquals("nameds node name property","developers", getNodeState(named).getProperty("name"));
}