phpunit icon indicating copy to clipboard operation
phpunit copied to clipboard

Dummy

Open tim-bezhashvyly opened this issue 3 years ago • 0 comments

Kudos for extracting Stub interface out of MockObject. Creating Stubs instead of Mocks reveals the intent of the test much better.

I suggest going one step further and extract Dummy out of Stub Interface. So in fact Dummy will be have no method method (pun intended) on it.

I could volunteer myself in implementing this.

Possibly related to #4729.

tim-bezhashvyly avatar Aug 08 '22 22:08 tim-bezhashvyly