recorder->isActive()) { return; } $test = $event->test(); if (! $test instanceof TestMethod) { return; } $this->recorder->beginTest($test->className(), $test->methodName(), $test->file()); } }