@Test
public void testBasicRepositoryFunctionality() {
startJavaBasedAppCtx();
GraphDatabaseService graphDatabaseService = appCtx.getBean(GraphDatabaseService.class);
PersonRepository personRepository = appCtx.getBean(PersonRepository.class);
try (Transaction tx = graphDatabaseService.beginTx()) {
Person person = new Person("Howdy",50);
personRepository.save(person);
assertNotNull(person.getId());
tx.success();
}
}