/** */ public function testWrongShortcut() { $this->setExpectedException('Fwk\\Core\\Exception'); ProxyFactory::factory(array('not', 'supported')); }