def METHOD_NAME(self):
    response = '{ "stdout": "Hi", "returncode": 0 }'
    expected_stdout = "Hi"
    expected_returncode = "0"
    stdout, returncode = passive.ncpacheck.NCPACheck.handle_agent_response(response)
    self.assertEqual(expected_returncode, returncode)
    self.assertEqual(expected_stdout, stdout)
    invalid_json = "234   } : }{fl;"
    stdout, returncode = passive.ncpacheck.NCPACheck.handle_agent_response(invalid_json)
    self.assertIsNone(stdout)
    self.assertIsNone(returncode)