public function run(\PHPSpec\Runner\Reporter $reporter) { if ($reporter instanceof Reporter && $reporter->checkFailFast()) { return; } if ($this->testTargetRepository->testsOnlySpecifiedMethods() && !$this->testTargetRepository->shouldTreatElementAsTest(get_class($this->getExampleGroup()), $this->getMethodName())) { return; } $reporter->exampleStarted($this); parent::run($reporter); $reporter->exampleFinished($this); }