Пример #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
 /**
  * {@inheritdoc}
  */
 public function getFactoryNames()
 {
     return array_keys($this->factoryRegistry->getFactories());
 }