I am trying to create a mockery-mock for some interfaces in my tests.
But the result of the mocking is a mock-object that is not an instance of the interface. E.g. the generated mock-class does not ' implements MyInterface '.
I properly checked and found that Mockery CAN&DOES locate and load my interface (by adding some echo's in the mockery classes)
Is it really true that mockery does not declare that a mocked-class implements it requested interface? Doesn't this completely bypass the good practices of TTD?
$mock = m::mock('My\\Cool\\Interface');
//now $mock is not aninstanceof My\Cool\Interface
Hope to hear from you.