/**
  * @expectedException \Oro\Bundle\ReminderBundle\Exception\MethodNotSupportedException
  * @expectedExceptionMessage Reminder method "not_exist" is not supported.
  */
 public function testGetProcessorFails()
 {
     $this->registry->getProcessor('not_exist');
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     $resolver->setDefaults(array('choices' => $this->sendProcessorRegistry->getProcessorLabels(), 'expanded' => false, 'multiple' => false));
 }