function testLimbRowNumberDataSetIsPaginated()
  {
    $template = '<list:LIST id="test">'.
                '<list:ITEM>{$LimbListRowNumber}:{$name}</list:ITEM>'.
                '</list:LIST>';

    RegisterTestingTemplate('/limb/list_row_number_pager.html', $template);

    $page =& new Template('/limb/list_row_number_pager.html');

    $list =& $page->getChild('test');

    $dataset = new PagedArrayDataSet($this->names);
    $pager = new MockPageNavigatorComponent($this);
    $pager->setReturnValue('getStartingItem', 2);
    $pager->setReturnValue('getItemsPerPage', 4);
    $dataset->paginate($pager);

    $list->registerDataSet($dataset);

    $this->assertEqual($page->capture(), '3:Pavel4:John');

    $pager->tally();
  }
 function getTotalRowCount()
 {
   $this->calls['total_row_count']++;
   return parent :: getTotalRowCount();
 }