There is a more general problem related to Mockery and in this case it actually works better with spies instead of mocks: Mockery::spy('overload:App\FooClass');
, so the assertions need to change: https://docs.mockery.io/en/latest/reference/spies.html