Trouble faking a Laravel HttpClient response
I am trying to test the following bit of code: DimonaClient is just a simple wrapper around a Laravel HttpClient; simplified function here: The getDeclaration() response is a \Illuminate\Http\Client\Response What I am trying to do in my test is: Mock the DimonaClient class so I don’t create an actual api call "Mock" (use Laravel’s Http::response())… Read More Trouble faking a Laravel HttpClient response