public function testPassingInvalidResponseClassThrowsException() { $this->setExpectedException('Zend\\XmlRpc\\Server\\Exception\\ExceptionInterface', 'Invalid response class'); $this->_server->setResponseClass('stdClass'); }