function testIsScheduleEmptyInRange()
 {
     $i = new ScheduleGroup();
     $this->groupIdCreated = $i->add('2011-10-10 01:30:23', $this->storedFile->getId());
     if (PEAR::isError($this->groupIdCreated)) {
         $this->fail($this->groupIdCreated->getMessage());
         return;
     }
     if (Schedule::isScheduleEmptyInRange('2011-10-10 01:30:23', '00:00:12.555')) {
         $this->fail("Reporting empty schedule when it isnt.");
         return;
     }
     //    echo "groupid: ".$this->groupIdCreated."\n";
     $success = $i->remove();
     if ($success === false) {
         $this->fail("Failed to delete schedule group.");
         return;
     }
     if (!Schedule::isScheduleEmptyInRange('2011-10-10 01:30:23', '00:00:12.555')) {
         $this->fail("Reporting booked schedule when it isnt.");
         return;
     }
 }