|
|
|
|
|
by TomNomNom
5014 days ago
|
|
It does; it's just not very common. Defining mocks manually is my preferred method. I find things like Phake and Mockery to be a little too opaque and hard to debug when you get subtle problems. I think they also add to the learning curve when getting new devs up to speed. IMO one reason a lot of PHP devs avoid the manual method of defining mocks is just laziness. |
|