/** * @expectedException InvalidArgumentException */ public function testSetUrlWithNoData() { // Given $url = null; $username = null; $password = null; $blogId = null; $xmlRpcClient = null; $client = new Client($url, $username, $password, $blogId, $xmlRpcClient); // When $client->setUrl($url); // Then // InvalidArgumentException }