public function testOverloadingGetShouldthrowExceptionWithInvalidFunction() { $this->setExpectedException('ZendService\\Twitter\\Exception\\ExceptionInterface'); $twitter = new Twitter\Twitter(); $return = $twitter->foo(); }