SimpleProbeServiceImpl implements SimpleProbeService { @Override public List<SimpleProbeObject> getSimpleProbeNonRegisteredList() { return simpleProbeBOImpl.getSimpleProbeNonRegisteredFromMapAsList(); } SimpleProbeServiceImpl(); @Override SimpleProbeObject getSimpleProbe(final String key); @Override List<SimpleProbeObject> getSimpleProbeNonRegisteredList();  }
@Test public void getSimpleProbeList() { createListTableStatsMap(3); List<SimpleProbeObject> simpleProbeTOList = simpleProbeService.getSimpleProbeNonRegisteredList(); assertEquals(1, simpleProbeTOList.size()); }
@Test public void getSimpleProbeListCheckSum() { createListTableStatsMap(3); List<SimpleProbeObject> simpleProbeTOList = simpleProbeService.getSimpleProbeNonRegisteredList(); assertEquals(12, ((SimpleProbeObject) simpleProbeTOList.get(0)).getTotalSum()); }