public void testSettingScanEnabledFromFalseToTrueWorks()
throws Exception
{
HDScanner hdScanner = new HDScanner();
hdScanner.setScanEnabled(false);
hdScanner.create();
hdScanner.start();
assertFalse("HDScanner had a scheduled scan when ScanEnabled was false",
hdScanner.isScanScheduled());
hdScanner.setScanEnabled(true);