/**
  * {@inheritdoc}
  */
 protected function setUp($env = 'test')
 {
     parent::setUp($env);
     $client = parent::createClient();
     $crawler = $client->request('GET', '/');
     $this->_container->set('request', $client->getRequest());
     $this->_datatable = $this->_container->get('datatable');
 }
 public function testIndex()
 {
     $client = parent::createClient();
     $r = $this->_container->get('router')->generate('alidatatable_test_homepage');
     $crawler = $client->request('GET', $r);
     $res = $client->getResponse();
     $this->assertContains("ali-dta_", $res->getContent());
 }