_fixtureManager = $manager; } /** * Method that is called before the tests of this test suite are run. * It will load fixtures accordingly for each test * @return void * @access protected */ protected function setUp() { parent::setUp(); restore_error_handler(); restore_error_handler(); if (!$this->_fixtureManager) { return; } $classes = array(); foreach ($this->getIterator() as $test) { $this->_fixtureManager->fixturize($test); } $this->sharedFixture = $this->_fixtureManager; } /** * Method that is called after all the tests of this test suite are run. * @return void * @access protected */ protected function tearDown() { parent::tearDown(); $this->_fixtureManager->shutDown(); $this->_fixtureManager = null; $this->sharedFixture = null; } }