def METHOD_NAME(self, mock_get):
    g = self.create_getter()
    # test the non error operation
    job_response = {"jobs": "jobs"}
    mock_get.return_value = test_utils.Response(job_response)
    self.set_counts()
    jobs = g.get_possible_jobs()
    self.assertEqual(jobs, job_response["jobs"])
    self.compare_counts()
    # check when the server responds incorrectly
    job_response = {"none": "none"}
    mock_get.return_value = test_utils.Response(job_response)
    self.set_counts()
    jobs = g.get_possible_jobs()
    self.compare_counts()
    self.assertEqual(jobs, None)
    # check when requests has bad status code
    mock_get.return_value = test_utils.Response(job_response, do_raise=True)
    self.set_counts()
    jobs = g.get_possible_jobs()
    self.compare_counts()
    self.assertEqual(jobs, None)