@Test public void testStartMonitor() { starter.startMonitor(); ThreadUtils.sleep(2000); starter.stopMonitor(); starter.stopMonitor(); }
@Test public void testStartAgent() { starter.startAgent(); // there is no agent properties, it can // be started with default setting ThreadUtils.sleep(5000); starter.stopAgent(); }