コード例 #1
0
 public function testPrepareDataItem()
 {
     $controllerMock = $this->getControllerMock();
     $chain = new Chain();
     $this->assertEquals(['instance' => $controllerMock, 'action' => 'test'], $chain->prepareDataItem($controllerMock, 'test'));
 }