public function endTest(PHPUnit_Framework_Test $test, $time) { if ($test instanceof CodeBaseAwareTestInterface) { $test->setCodeBase(null); } }