コード例 #1
0
 public function testEvent()
 {
     $step = new Step();
     $event = new StepFinishedEvent();
     $event->process($step);
     $this->assertNotEmpty($step->getStop());
 }
コード例 #2
0
 protected function processStepFinishedEvent(StepFinishedEvent $event)
 {
     $step = $this->getStepStorage()->pollLast();
     $event->process($step);
     $this->getStepStorage()->getLast()->addStep($step);
 }