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