@Test public void saveAlarm() { service.save(alarm); verify(agentRelationalDao).save(alarm); }
@Test public void saveData() { service.save(observation); verify(agentRelationalDao).save(observation); }
@Test public void saveOrder() { service.save(order); verify(agentRelationalDao).save(order); }
@Before public void setUp() { MockitoAnnotations.initMocks(this); service = new DataTrackServiceImpl(); service.setAgentRelationalDao(agentRelationalDao); }