/** * @When I send a request to the 3rd party API */ public function iSendARequestToTheRdPartyApi() { try { $this->apiClient->get(); } catch (ApiException $e) { } }
/** * @When I call my local client service */ public function iCallMyLocalClientService() { $this->response = $this->client->get(); }