Your class uses a trait that calls an external service, and you want to mock it ...

@jclermont@phpc.social

Your class uses a trait that calls an external service, and you want to mock it in a test. It's possible, but it may not solve the problem you actually have. #php #laravel masteringlaravel.io/daily/2026