/** * @expectedException \Oro\Bundle\ImportExportBundle\Exception\UnexpectedValueException * @expectedExceptionMessage Processor with type "import" and alias "foo_alias" is not exist */ public function testGetProcessorEntityNameFails() { $type = ProcessorRegistry::TYPE_IMPORT; $alias = 'foo_alias'; $this->registry->getProcessorEntityName($type, $alias); }