@Test public void testHandleAllMonitoringLocationDefinitions() { LocationDefHandler handler = m_easyMockUtils.createMock(LocationDefHandler.class); handler.start(2880); handler.handle(isA(OnmsMonitoringLocationDefinition.class)); expectLastCall().times(2880); handler.finish(); m_easyMockUtils.replayAll(); m_locationDataService.handleAllMonitoringLocationDefinitions(Collections.singleton(handler)); m_easyMockUtils.verifyAll(); }
void start(final EventExecutorService service) { getTimer().schedule(new InitializeTask(service, this, getTimer()), LocationDataManager.PADDING_TIME); }
LocationDataManager { void start(final EventExecutorService service) { getTimer().schedule(new InitializeTask(service, this, getTimer()), LocationDataManager.PADDING_TIME); } }
LocationDataManager { void start(final EventExecutorService service) { getTimer().schedule(new InitializeTask(service, this, getTimer()), LocationDataManager.PADDING_TIME); }  }
LocationDataManager { void start(final EventExecutorService service) { getTimer().schedule(new InitializeTask(service, this, getTimer()), LocationDataManager.PADDING_TIME); }  void setLocationDataService(final LocationDataService locationDataService); LocationDataService getLocationDataService(); LocationInfo getLocationInfo(final String locationName); LocationDetails getLocationDetails(final String locationName); ApplicationInfo getApplicationInfo(final String applicationName); ApplicationDetails getApplicationDetails(final String applicationName); void setActiveApplications(final Set<String> activeApplications); Timer getTimer(); void setTimer(Timer timer); Set<String> getActiveApplications(); }
LocationDataManager { void start(final EventExecutorService service) { getTimer().schedule(new InitializeTask(service, this, getTimer()), LocationDataManager.PADDING_TIME); }  void setLocationDataService(final LocationDataService locationDataService); LocationDataService getLocationDataService(); LocationInfo getLocationInfo(final String locationName); LocationDetails getLocationDetails(final String locationName); ApplicationInfo getApplicationInfo(final String applicationName); ApplicationDetails getApplicationDetails(final String applicationName); void setActiveApplications(final Set<String> activeApplications); Timer getTimer(); void setTimer(Timer timer); Set<String> getActiveApplications(); static final int PADDING_TIME; }