function it_does_not_throw_an_exception_when_an_example_fails_and_option_is_not_set(ExampleEvent $event) { $event->getResult()->willReturn(ExampleEvent::FAILED); $this->afterExample($event); }