PigCounters { public List<String> getJobIds() { return Lists.newArrayList(jobLevelCounters.keySet()); } PigCounters(Map<String, String> rootLevelCounters, List<JobCounters> jobLevelCounters); List<String> getJobIds(); JobCounters getJobCounters(String jobId); String getJobIdByAlias(String jobAlias); Map<String, String> getRootLevelCounters();  }
@Test public void getJobIds() { assertThat(pigCounters.getJobIds(), containsInAnyOrder("JOB_ID_1", "JOB_ID_2")); }