public function test_getHasAction() { $this->_datatable->setEntity('Ali\\DatatableBundle\\Entity\\Product', 'p')->setFields(array("title" => 'p.name', "_identifier_" => 'p.id')); $this->assertInternalType('boolean', $this->_datatable->getHasAction()); }
public function testSetHasAction() { $this->assertEquals(TRUE, $this->_datatable->getHasAction()); }