/** * @test */ public function shouldBeAbleToOverrideClient() { $httpClient = new HttpClient('http://google.nl', array(), new \Guzzle\Http\Client()); $httpClient->setClient(new \stdClass()); $this->assertInstanceOf('stdClass', $httpClient->getClient()); }