public function testEvent()
 {
     $step = new Step();
     $event = new StepFinishedEvent();
     $event->process($step);
     $this->assertNotEmpty($step->getStop());
 }
 protected function processStepFinishedEvent(StepFinishedEvent $event)
 {
     $step = $this->getStepStorage()->pollLast();
     $event->process($step);
     $this->getStepStorage()->getLast()->addStep($step);
 }