/** * testGetSortingColumns */ public function testGetSortingColumns() { $this->model->setSortingLength(1); $this->callProtected($this->model, 'setVarByNameId', array('sortCols', 0, 'true')); $this->assertEquals(array('' => 'asc'), $this->model->getSortingColumns()); }