How to unit test this try catch – Twitter API
I'm trying to 100% code coverage my service. Here is a method: <?php * Search to public accounts. * * @param string $query * * @return TwitterResponse */ public function search(string $query): TwitterResponse { try { $response = $this->client->getClient()->get(UserEnum::URI_SEARCH, […