/** * @expectedException \Zend\Service\Twitter\Exception */ public function testOverloadingGetShouldthrowExceptionWithInvalidFunction() { $twitter = new Service\Twitter(); $return = $twitter->foo(); }
public function testOverloadingGetShouldthrowExceptionWithInvalidFunction() { $this->setExpectedException('Zend\\Service\\Twitter\\Exception'); $twitter = new Service\Twitter(); $return = $twitter->foo(); }