public function testGetConfiguration() { $this->_datatable->setEntity('Ali\\DatatableBundle\\Tests\\TestBundle\\Entity\\Product', 'p')->setFields(array("description" => 'p.description', "_identifier_" => 'p.id')); $this->assertEquals(array('all' => array('action' => true, 'search' => false), 'js' => array()), $this->_datatable->getConfiguration()); }