public function testInvalidUri() { $this->setExpectedException('fXmlRpc\\Exception\\InvalidArgumentException', 'Expected parameter 0 to be of type "string", "object" of type "stdClass" given'); $this->client->setUri(new \stdClass()); }