Your class uses a trait that calls an external service, and you want to mock it ...
Joel Clermont @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 https://masteringlaravel.io/daily/2026-11-12-can-you-mock-a-trait