function it_should_creates_result_event(ExampleEvent $exampleEvent, SpecificationNode $specificationNode, CodeCoverageSession $coverageSession)
{
$exampleEvent->getResult()->shouldBeCalled()->willReturn(ExampleEvent::PASSED);
$specificationNode->getTitle()->shouldBeCalled()->willReturn('SomeSpesification');
$coverageSession->stop()->shouldBeCalled();
$this->afterExample($exampleEvent);
$this->getResults()->shouldHaveCount(1);
}