You mocked one method and expected the rest of the class to behave normally. So ...
Joel Clermont @jclermont@phpc.social
You mocked one method and expected the rest of the class to behave normally. So why didn't the constructor run? #php #laravel https://masteringlaravel.io/daily/2026-10-23-republished-partial-mocks-dont-run-constructors