/** * @expectedException InvalidArgumentException */ public function testInputURLValidated() { $client = new Client(); $client->setURL(''); }