assertEquals(m_dnsService.getServiceName(), config.getPolledServices()[1].getSvcName());
assertEquals(5678, config.getPolledServices()[1].getPollModel().getPollInterval());
assertTrue(config.getPolledServices()[1].getMonitorConfiguration().containsKey("hostname"));
}
public void testPollerStarting() {
<BUG>EventBuilder eventBuilder = new EventBuilder(EventConstants.LOCATION_MONITOR_STARTED_UEI)

.setSource("PollerBackEnd")</BUG>
.addParam(EventConstants.PARM_LOCATION_MONITOR_ID, 1);
m_eventIpcManager.sendNow(eq(eventBuilder.getEvent()));

assertEquals(m_dnsService.getServiceName(), config.getPolledServices()[1].getSvcName());
assertEquals(5678, config.getPolledServices()[1].getPollModel().getPollInterval());
assertTrue(config.getPolledServices()[1].getMonitorConfiguration().containsKey("hostname"));
}
public void testPollerStarting() {
EventBuilder eventBuilder = new EventBuilder(EventConstants.LOCATION_MONITOR_STARTED_UEI, "PollerBackEnd")
.addParam(EventConstants.PARM_LOCATION_MONITOR_ID, 1);
m_eventIpcManager.sendNow(eq(eventBuilder.getEvent()));
