if (car != null) {
delete = true;
assertEquals(Volvo.class, car.getClass());
} else {
Transaction tx = template.getGraphDatabase().beginTx();
Volvo volvo = template.save(new Volvo());
assertEquals(1, volvo.id.intValue());
tx.success();
tx.close();
}
} catch (Exception e) {