public function registerUndefinedStep(AfterStepTested $event)
    {
        if (StepResult::UNDEFINED === $event->getTestResult()->getResultCode()) {
            $this->registry->registerUndefinedStep($event->getEnvironment(), $event->getStep());
        }
    }