@Test void getJobStatusForUnexistingJob() throws Exception { List<String> jobId = Arrays.asList("unexisting-job"); JobStatusStore jobStatusStorage = componentManager.getInstance(JobStatusStore.class); when(jobStatusStorage.getJobStatus(jobId)).thenReturn(null); assertNull(jobManager.getJobStatus(jobId)); }
@Override public JobStatus getJobStatus(String id) { return getJobStatus(Arrays.asList(id)); }
DefaultJobManager implements JobManager, Runnable, Initializable { @Override public JobStatus getJobStatus(String id) { return getJobStatus(Arrays.asList(id)); } }
DefaultJobManager implements JobManager, Runnable, Initializable { @Override public JobStatus getJobStatus(String id) { return getJobStatus(Arrays.asList(id)); }  }
DefaultJobManager implements JobManager, Runnable, Initializable { @Override public JobStatus getJobStatus(String id) { return getJobStatus(Arrays.asList(id)); }  @Override void initialize(); @Override void run(); void runJob(); @Override Job getCurrentJob(); @Override Job executeJob(String jobType, Request request); @Override Job addJob(String jobType, Request request); @Override void addJob(Job job); @Override JobStatus getJobStatus(String id); @Override JobStatus getJobStatus(List<String> id); }
DefaultJobManager implements JobManager, Runnable, Initializable { @Override public JobStatus getJobStatus(String id) { return getJobStatus(Arrays.asList(id)); }  @Override void initialize(); @Override void run(); void runJob(); @Override Job getCurrentJob(); @Override Job executeJob(String jobType, Request request); @Override Job addJob(String jobType, Request request); @Override void addJob(Job job); @Override JobStatus getJobStatus(String id); @Override JobStatus getJobStatus(List<String> id);  }