コード例 #1
0
 public function testPerform()
 {
     $this->action->shouldReceive('getOption')->once()->andReturn(function () {
         return 'foo';
     });
     $data = null;
     $this->assertEquals($this->action->perform($data), 'foo');
 }