Ejemplo n.º 1
0
 /**
  * @param JobInterface     $job
  * @param ContextInterface $context
  */
 function __construct(JobInterface $job, ContextInterface $context)
 {
     parent::__construct($job);
     $this->context = $context;
 }
 public function testGetJob()
 {
     $job = new Job();
     $event = new TerminationEvent($job);
     $this->assertSame($job, $event->getJob());
 }