...
Code Block |
---|
public class HarvestSchedulerTester extends TestCase { ... public void tearDown() { if (harvestScheduler \!= null) { harvestScheduler.close(); } ... } public void testGetHoursPassedSince() throws Exception { harvestScheduler = submitNewJobsAndGetSchedulerInstance(); } |
Code Block |
Note: The HarvestSchedulers close call delegated to the Cleanup method.
...