You mocked one method and expected the rest of the class to behave normally. So ...

@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 masteringlaravel.io/daily/2026