def METHOD_NAME(self):
    self.client.execute = mock.MagicMock()
    self.assertEqual(
        list(
            self.client.execute_and_paginate(
                _TEST_QUERY,
                _TEST_QUERY_PATH,
                first_page=self.mock_result(["foo"]),
            )
        ),
        ["foo"],
    )
    self.assertEqual(self.client.execute.call_count, 0)