public function tearDown()
 {
     parent::tearDown();
     $sourceEntity = $this->_em->getClassMetadata(Travel::CLASSNAME);
     $targetEntity = $this->_em->getClassMetadata(City::CLASSNAME);
     $sourceEntity->associationMappings['visitedCities']['fetch'] = ClassMetadata::FETCH_LAZY;
     $targetEntity->associationMappings['travels']['fetch'] = ClassMetadata::FETCH_LAZY;
 }
 protected function tearDown()
 {
     parent::tearDown();
     $this->_em->getMetadataFactory()->setMetadataFor(Country::CLASSNAME, $this->countryMetadata);
 }