@Transactional
public void testCountSubclasses() {
log.warn("testCountSubclasses");
persist(new Volvo());
log.warn("Created volvo");
persist(new Toyota());
log.warn("Created volvo");
assertEquals("Wrong count for Volvo.", 1L, neo4jTemplate.repositoryFor(Volvo.class).count());
assertEquals("Wrong count for Toyota.", 1L, neo4jTemplate.repositoryFor(Toyota.class).count());
assertEquals("Wrong count for Car.", 2L, neo4jTemplate.repositoryFor(Car.class).count());
}