Esempio n. 1
0
 protected function setUp()
 {
     parent::setUp();
     foreach ($this->mongator->getAllRepositories() as $repository) {
         $repository->getIdentityMap()->clear();
     }
 }
 /**
  * Cleans up after each iteration.
  */
 protected function tearDown()
 {
     $this->infrastructure = null;
     parent::tearDown();
 }
Esempio n. 3
0
 protected function classTearDown()
 {
     $this->testClient = null;
     parent::classTearDown();
 }
 protected function classSetUp()
 {
     parent::classSetUp();
     self::$htmlString = file_get_contents(__DIR__ . '/data/html.html');
 }