phpspec test logic in constructor

后端 未结 0 1190
無奈伤痛
無奈伤痛 2021-01-22 23:55

I have a logic like this

 public function __construct(DataFetcherInterface $fetcher, Alert $alert) {
   $this->data = $fetcher->getData();
   foreach($this-         


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