public function testCallingUnregisteredMethod() { $this->setExpectedException('Zend\\XmlRpc\\Server\\Exception\\ExceptionInterface', 'Unknown instance method called on server: foobarbaz'); $this->_server->foobarbaz(); }