# Path: groupy/pagers.py
# class Pager:
# class GroupList(Pager):
# class ChatList(GroupList):
# class MessageList(Pager):
# class GalleryList(MessageList):
#     def __init__(self, manager, endpoint, **params):
#     def __getitem__(self, index):
#     def __iter__(self):
#     def set_next_page_params(self):
#     def fetch(self):
#     def fetch_next(self):
#     def autopage(self):
#     def set_next_page_params(self):
#     def __init__(self, manager, endpoint, **params):
#     def detect_mode(cls, **params):
#     def set_next_page_params(self):
#     def get_last_item_index(self):
#     def get_next_page_param(self, item):
#     def fetch_next(self):
#     def get_next_page_param(self, item):


import unittest
from unittest import mock
from groupy import pagers



class PagerTests(unittest.TestCase):
    def setUp(self):
        self.m_manager = mock.Mock()
        self.m_endpoint = mock.Mock()
        self.m_endpoint.side_effect = ['abc', 'xyz']
        self.params = {'x': 42}

# Path: groupy/pagers.py
# class Pager:
# class GroupList(Pager):
# class ChatList(GroupList):
# class MessageList(Pager):
# class GalleryList(MessageList):
#     def __init__(self, manager, endpoint, **params):
#     def __getitem__(self, index):
#     def __iter__(self):
#     def set_next_page_params(self):
#     def fetch(self):
#     def fetch_next(self):
#     def autopage(self):
#     def set_next_page_params(self):
#     def __init__(self, manager, endpoint, **params):
#     def detect_mode(cls, **params):
#     def set_next_page_params(self):
#     def get_last_item_index(self):
#     def get_next_page_param(self, item):
#     def fetch_next(self):
#     def get_next_page_param(self, item):


# Path: tests/test_pagers.py
import unittest
from unittest import mock
from groupy import pagers




class PagerTests(unittest.TestCase):
    def setUp(self):
        self.m_manager = mock.Mock()
        self.m_endpoint = mock.Mock()
        self.m_endpoint.side_effect = ['abc', 'xyz']
        self.params = {'x': 42}

        self.pager = pagers.Pager(self.m_manager, self.m_endpoint, **self.params)