'Patch a GitHubIterator\'s _get_json method.'

def patch_get_json(self):

    self.get_json_mock = mock.patch.object(github3.structs.GitHubIterator, '_get_json')
    self.patched_get_json = self.get_json_mock.start()
    self.patched_get_json.return_value = []
