public function testAdd_JobFactoryExceptionRaised()
 {
     $this->setExpectedException('Aureja\\JobQueue\\Exception\\JobFactoryException', 'Not found aureja_job job factory');
     $this->registry->getFactory('aureja_job');
 }
示例#2
0
 /**
  * {@inheritdoc}
  */
 public function getFactory(JobConfigurationInterface $configuration)
 {
     return $this->factoryRegistry->getFactory($configuration->getFactory());
 }