@Override
  public JobState getJobStatus(String project, String region, String jobId) throws IOException {
    return handleJobState(getJob(project, region, jobId));
  }
@Test
  public void testGetJobThrowsException() throws IOException {
    when(getLocationJobs(client).get(any(), any(), any())).thenThrow(new IOException());
    assertThrows(
        FailsafeException.class,
        () -> new FakePipelineLauncher(client).getJobStatus(PROJECT, REGION, JOB_ID));
  }