### Question:
JobConfigManager { public IJob getJob(String jobId) { try { Map<String, String> queryData = fetchJobData(jobId); if (queryData == null) { return null; } return createJobFromQueryData(jobId, queryData); } catch (Exception e) { logger.error("Failure creating job: {}", jobId, e); throw new RuntimeException(e); } } @Deprecated  JobConfigManager(SpawnDataStore spawnDataStore);  JobConfigManager(SpawnDataStore spawnDataStore, JobExpander jobExpander); String getExpandedConfig(String jobUUID); String getExpandedConfig(String rawConfig, Collection<JobParameter> parameters); void writeUpdateIfDataNotNull(String path, String data); void addJob(IJob ijob); void updateJob(IJob ijob); IJob getJob(String jobId); String getConfig(String jobUUID); void setConfig(String jobId, String config); @Scaling(SETUP) Map<String, IJob> loadJobs(); void deleteJob(String jobUUID);  }### Answer:
@Test public void testGetJob() throws Exception { JobConfigManager jcm = getJobConfigManager(); String id = "bar"; IJob job = new ZnodeJob(id); job.setQueryConfig(new JobQueryConfig()); jcm.addJob(job); IJob jobBack = jcm.getJob("bar"); assertNotNull(jobBack); assertEquals(job.getId(), jobBack.getId()); assertEquals(job.getQueryConfig(), jobBack.getQueryConfig()); assertEquals(job.getCopyOfTasks(), jobBack.getCopyOfTasks()); }