Example #1
0
 public function testSetDataSource()
 {
     $grid = new Datagrid('Testgrid');
     $source = new ArrayList();
     $grid->setDatasource($source);
     $this->assertEquals($source, $grid->getDatasource());
 }