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