/** * @test */ public function itShouldVerifySSLUsingBundledCA() { $this->httpClient->shouldReceive('setDefaultOption')->once()->with('verify', realpath(dirname(__FILE__) . '/../assets/cacert.pem'))->andReturn(null); $this->client->useBundledCA(); }