예제 #1
0
 public function testRowClickAction()
 {
     $this->assertFalse($this->grid->hasRowClickAction());
     $action = $this->getMockForAbstractClass('ZfcDatagrid\\Column\\Action\\AbstractAction');
     $this->grid->setRowClickAction($action);
     $this->assertEquals($action, $this->grid->getRowClickAction());
     $this->assertTrue($this->grid->hasRowClickAction());
 }