StandbyJobSummaryServiceImpl extends AbstractService implements StandbyJobSummaryService { @Override public List<StandbyJobSummary> getAllJobSummaries() { return baseDao.getAll(StandbyJobSummary.class); }  @Override List<StandbyJobSummary> getAllJobSummaries(); @Override synchronized void saveJobSummary(StandbyJobSummary standbyJobSummary); @Override void updateJobSummary(StandbyJobData.Data data); @Override StandbyJobSummary getJobSummary(String id); @Override void updateJobSummary(String id);  }
@Test public void getAllJobSummaries() { List<StandbyJobSummary> jobSummaries = standbyJobSummaryService.getAllJobSummaries(); Assert.assertNotNull(jobSummaries); Assert.assertTrue(jobSummaries.size() == 0); standbyJobService.saveJob(getSampleJarFile(), "com.zuoxiaolong"); jobSummaries = standbyJobSummaryService.getAllJobSummaries(); Assert.assertNotNull(jobSummaries); Assert.assertTrue(jobSummaries.size() == 2); }