79590373

Date: 2025-04-24 10:45:40
Score: 1
Natty:
Report link

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

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alin Pop