consulCitoyenRepository.save(consulCitoyen);
entityManager.flush();
// reload it from cache and check equality
ConsulCitoyenPk id = consulCitoyen.getConsulCitoyenPk();
assertThat(consulCitoyen).isEqualTo(consulCitoyenRepository.findOne(id));
// clear cache to force reload from db
entityManager.clear();