public function testTriggeredError(ErrorTriggered $event) : void { if (!$this->source ->ignoreSuppressionOfErrors() && $event->wasSuppressed()) { return; } $this->updateTestStatus(TestStatus::error()); }