agave-jobs/jobs-core/src/test/java/org/iplantc/service/jobs/dao/AbstractDaoTest.java
/**
	 * Clears database of all {@link RemoteSystem}, {@link Software}, {@link Job}, 
	 * {@link TransferTask}, and {@link Notification}. Creates new test instances 
	 * of each type as needed.
	 * 
	 * @throws Exception
	 */
Clears database of all  RemoteSystem,  Software,  Job,
TransferTask, and  Notification. Creates new test instances
of each type as needed.

@throws Exception
Clears database of all RemoteSystem Software Job TransferTask and Notification . Creates new test instances of each type as needed . @throws Exception
@BeforeClass
	protected void beforeClass() throws Exception
	{
		systemDao = new SystemDao();
		jtd = JSONTestDataUtil.getInstance();
        clearSoftware();
        clearSystems();
        clearJobs();
        drainQueue();
	}
@ BeforeClass protected void beforeClass ( ) throws Exception { systemDao = new SystemDao ( ) ; jtd = JSONTestDataUtil . getInstance ( ) ; clearSoftware ( ) ; clearSystems ( ) ; clearJobs ( ) ; drainQueue ( ) ; }
Clears database of all {@link RemoteSystem}, {@link Software}, {@link Job},
 {@link TransferTask}, and {@link Notification}.
Clears database of all { @link RemoteSystem } { @link Software } { @link Job } { @link TransferTask } and { @link Notification } .