Пример #1
0
 function testSetDataclass()
 {
     $grid = new Datagrid('Testgrid');
     $grid->setModelClass('SiteTree');
     $this->assertEquals('SiteTree', $grid->getModelClass());
 }