_fixtureManager = $manager ?? new CakeFixtureManager(); $this->_fixtureManager->shutDown(); } public function startTestSuite(TestSuite $suite) : void { if (empty($this->_first)) { $this->_first = $suite; } } public function endTestSuite(TestSuite $suite) : void { if ($this->_first === $suite) { $this->_fixtureManager->shutDown(); } } public function startTest(Test $test) : void { $test->fixtureManager = $this->_fixtureManager; if ($test instanceof CakeTestCase) { $this->_fixtureManager->fixturize($test); $this->_fixtureManager->load($test); } } public function endTest(Test $test, $time) : void { if ($test instanceof CakeTestCase) { $this->_fixtureManager->unload($test); } } public function addError(Test $test, Throwable $e, $time) : void { } public function addFailure(Test $test, AssertionFailedError $e, $time) : void { } public function addIncompleteTest(Test $test, Throwable $e, $time) : void { } public function addSkippedTest(Test $test, Throwable $e, $time) : void { } public function addRiskyTest(Test $test, Throwable $e, $time) : void { } public function addWarning(Test $test, Warning $e, float $time) : void { } }