'Make a dummy request, and assert that get_paginated_data with the given
parameters returns the expected result'

def do_case(self, objects, page_num, num_pages, expected):

    request = RequestFactory().get('/test')
    paginator = DiscussionAPIPagination(request, page_num, num_pages)
    actual = paginator.get_paginated_response(objects)
    self.assertEqual(actual.data, expected)
