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(); }
protected function classTearDown() { $this->testClient = null; parent::classTearDown(); }
protected function classSetUp() { parent::classSetUp(); self::$htmlString = file_get_contents(__DIR__ . '/data/html.html'); }