def METHOD_NAME(self, m):
    m.post(self.test_db_endpoint, status_code=200, json=self._mock_job_status_success_response_body)
    resp = self.hook.submit_job('test_db', 'offsync', 'select * from t1')
    assert resp.status_code == 200
    assert resp.json() == self._mock_job_status_success_response_body