public function run(PHPUnit_Framework_TestResult $result = NULL) { FixtureManagerProxy::fixturize($this); parent::run($result); $this->fixtureManager->unload($this); }
/** * Run test cases multiple times with different behavior settings * * @param PHPUnit_Framework_TestResult $result The test result object * @return PHPUnit_Framework_TestResult */ public function run(PHPUnit_Framework_TestResult $result = null) { foreach ($this->behaviorSettings as $behaviorSettings) { $this->behaviorSettings = $behaviorSettings; $result = parent::run($result); } return $result; }