@Test public void thereAreSurpassedThreshold() throws GangliaException { SingleThreshold t = new SingleThreshold("load_one", SingleThreshold.MAX, 0); notifier.addThreshold("default", t); notifier.updateThresholdsInfo(); assertTrue(notifier.thereAreSurpassedThresholds()); }