/** * @expectedException \Oro\Bundle\ReminderBundle\Exception\MethodNotSupportedException * @expectedExceptionMessage Reminder method "not_exist" is not supported. */ public function testGetProcessorFails() { $this->registry->getProcessor('not_exist'); }