  
              def __getitem__(self, sliced):
                  return self.items[sliced]
  
          self.pagination = pagination.CursorPagination()
          self.queryset = MockQuerySet([
              MockObject(idx) for idx in [
                  1, 1, 1, 1, 1,
                  1, 1, 1, 1, 1,
                  1, 1, 2, 3, 4,
                  5, 6, 7, 8, 9
              ]
          ])
  
      def paginate_queryset(self, request):
          return list(self.pagination.paginate_queryset(self.queryset, request))
  
      def test_following_cursor_identical_items(self):
 
</s> remove             def __getitem__(self, sliced):
                return self.items[sliced]
 </s> add         assert previous == [1, 1, 1, 1, 1]
        assert current == [1, 2, 3, 4, 4]
        assert next == [4, 4, 5, 6, 7] </s> remove     def paginate_queryset(self, request):
        return list(self.pagination.paginate_queryset(self.queryset, request))
 </s> add         assert previous == [1, 2, 3, 4, 4]
        assert current == [4, 4, 5, 6, 7]
        assert next == [7, 7, 7, 7, 7] </s> remove         request = Request(factory.get(next_url))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [6, 7, 8, 9, 10]
 </s> add         self.pagination = ExamplePagination()
        self.queryset = MockQuerySet([
            MockObject(idx) for idx in [
                1, 1, 1, 1, 1,
                1, 2, 3, 4, 4,
                4, 4, 5, 6, 7,
                7, 7, 7, 7, 7,
                7, 7, 7, 8, 9,
                9, 9, 9, 9, 9
            ]
        ]) </s> remove         self.pagination = pagination.CursorPagination()
        self.queryset = MockQuerySet(
            [MockObject(idx) for idx in range(1, 16)]
        )

    def paginate_queryset(self, request):
        return list(self.pagination.paginate_queryset(self.queryset, request))

    # def get_paginated_content(self, queryset):
    #     response = self.pagination.get_paginated_response(queryset)
    #     return response.data

    # def get_html_context(self):
    #     return self.pagination.get_html_context()

    def test_following_cursor(self):
        request = Request(factory.get('/'))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [1, 2, 3, 4, 5]

        next_url = self.pagination.get_next_link()
        assert next_url
 </s> add         class ExamplePagination(pagination.CursorPagination):
            page_size = 5 </s> remove     def test_following_cursor_identical_items(self):
        request = Request(factory.get('/'))
        queryset = self.paginate_queryset(request)
        assert [item.created for item in queryset] == [1, 1, 1, 1, 1]
 </s> add         (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
  
              def __getitem__(self, sliced):
                  return self.items[sliced]
  
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
        (previous, current, next, previous_url, next_url) = self.get_pages(next_url)
  
      def paginate_queryset(self, request):
          return list(self.pagination.paginate_queryset(self.queryset, request))
  
      def test_following_cursor_identical_items(self):
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Tidy up cursor tests and make more comprehensive 
tests/test_pagination.py