Using Spy Object in PHPUnit?
Question
How can I use Spy Object in PHPUnit? You can call object in imitation on, and after you can assert how many times it called. It is Spy.
I know "Mock" in PHPUnit as Stub Object and Mock Object.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow