def METHOD_NAME(self):
    self.client.execute = mock.MagicMock(return_value=self.mock_result([]))
    self.assertEqual(
        list(
            self.client.execute_and_paginate(_TEST_QUERY, _TEST_QUERY_PATH)
        ),
        [],
    )
    self.client.execute.assert_called_once_with(_EXP_QUERY_FIRST_PAGE)