public function TestLoopCall()
 {
     $this->testLoopCalls++;
     return ArrayList::create(array(ArrayData::create(array('Message' => 'One')), ArrayData::create(array('Message' => 'Two'))));
 }
 public function testTotalItems()
 {
     $list = GroupedList::create(ArrayList::create(array(ArrayData::create(array('Name' => 'AAA', 'Number' => '111')), ArrayData::create(array('Name' => 'BBB', 'Number' => '111')), ArrayData::create(array('Name' => 'AAA', 'Number' => '222')), ArrayData::create(array('Name' => 'BBB', 'Number' => '111')))));
     $this->assertEquals(4, $list->TotalItems());
 }
 /**
  * @return ArrayList
  */
 public function Deleted()
 {
     $set = new ArrayList();
     foreach ($this->deleted as $arrItem) {
         $set->push(ArrayData::create($arrItem));
     }
     return $set;
 }