PHPUnit “Mocked method does not exist.” when using $mock->expects($this->at(…))

前端 未结 7 1470
失恋的感觉
失恋的感觉 2021-02-05 00:56

I\'ve run into a strange issue with PHPUnit mock objects. I have a method that should be called twice, so I\'m using the \"at\" matcher. This works for the first time the method

7条回答
提交回复
热议问题