protected function createDatagridView(DatagridInterface $datagrid, array $vars = []) : DatagridView { $view = new DatagridView($datagrid); $view->vars = $vars; $view->init($datagrid); return $view; }
public function testThrowsExceptionWhenGettingUnRegisteredColumn() { $this->expectException(InvalidArgumentException::class); $this->gridView->getColumn('bar'); }