Esempio n. 1
0
 protected function setUp()
 {
     parent::setUp();
     foreach ($this->mongator->getAllRepositories() as $repository) {
         $repository->getIdentityMap()->clear();
     }
 }
 /**
  * Prepares the environment before each iteration.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->infrastructure = ORMInfrastructure::createOnlyFor('\\Webfactory\\Doctrine\\ORMTestInfrastructure\\ORMInfrastructureTest\\TestEntity');
 }