Пример #1
0
 public function testGetPage()
 {
     $roles = RoleModel::getPage(1, 1, 'roleID ASC', 'sample');
     $this->assertEquals(count($roles), 1);
     $this->assertEquals($roles[0]->roleID, 2);
 }