PHP unit test - test method return generator

前端 未结 0 426
粉色の甜心
粉色の甜心 2020-12-23 12:27

I would like to write a unit test for method when internal MockClass will call method once and that will return Generator.

$em = $this->createMock(EntityMa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题