MappingContext context = new Neo4jMappingContext();
context.getPersistentEntity(TestEntityRelatedTo.class);
}
@Test(expected = MappingException.class)
public void testFailInvalidRelatedToVia() throws Exception {
MappingContext context = new Neo4jMappingContext();
context.getPersistentEntity(TestEntityRelatedToVia.class);
}