Assert.assertTrue(l.getType()== null);
}
@Test
public void createAndVerifyMemoryWithLowerThresholdBeingCrossed() {
Memory mem = new Memory(EmptyConfiguration.INSTANCE);
ThresholdValues tVals = new ThresholdValues(0.30, 0.90);
mem.setThresholdValues(tVals);
SimpleThresholdListener l = new SimpleThresholdListener();
mem.start();
mem.checkValue();
double utilization = mem.getUtilization();
Assert.assertTrue("Utilization should be > 0", utilization>0);
Assert.assertTrue(l.getType()== null);
}