コード例 #1
0
 public function testAdd_JobFactoryExceptionRaised()
 {
     $this->setExpectedException('Aureja\\JobQueue\\Exception\\JobFactoryException', 'Not found aureja_job job factory');
     $this->registry->getFactory('aureja_job');
 }
コード例 #2
0
ファイル: JobProvider.php プロジェクト: dpk125/JobQueue
 /**
  * {@inheritdoc}
  */
 public function getFactoryNames()
 {
     return array_keys($this->factoryRegistry->getFactories());
 }