You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging I see that the phpUnit mock is an Object of: Mock_Lib_Some_Class_Name_xyzsomething while the Mockery mock is Object of: Mockery\Mock. So I assume that's what makes the difference for the test. Now I assume I would need to create an Alias Mock... but what if the class I want to mock is not in a namespace?
When I use a phpUnit mock:
the following:
will be true. If I do the same with a Mockery mock
it doesn't. What am I doing/understanding wrong?
The text was updated successfully, but these errors were encountered: