コード例 #1
0
 /**
  * @expectedException \Oro\Bundle\ReminderBundle\Exception\MethodNotSupportedException
  * @expectedExceptionMessage Reminder method "not_exist" is not supported.
  */
 public function testGetProcessorFails()
 {
     $this->registry->getProcessor('not_exist');
 }
コード例 #2
0
ファイル: MethodType.php プロジェクト: Maksold/platform
 /**
  * {@inheritdoc}
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     $resolver->setDefaults(array('choices' => $this->sendProcessorRegistry->getProcessorLabels(), 'expanded' => false, 'multiple' => false));
 }