package gov.va.med.esr.common.batchprocess;

import java.util.Date;
import java.util.HashMap;

import gov.va.med.esr.common.model.lookup.Capability;
import gov.va.med.esr.common.model.lookup.StandardReport;
import gov.va.med.esr.common.model.person.Person;
import gov.va.med.esr.common.model.report.CompletedReport;
import gov.va.med.esr.common.model.security.ESRUserPrincipalImpl;
import gov.va.med.esr.common.persistent.report.ReportDAO;
import gov.va.med.esr.common.util.RuleAbstractTestCase;
import gov.va.med.esr.service.CampLejeuneService;
import gov.va.med.fw.persistent.DAOException;
import gov.va.med.fw.report.ReportExportedType;
import gov.va.med.fw.scheduling.ScheduledProcess;
import gov.va.med.fw.security.SecurityContextHelper;
import gov.va.med.fw.service.trigger.Log4jTriggerEvent;
import gov.va.med.fw.service.trigger.TriggerEvent;
import gov.va.med.fw.service.trigger.TriggerIdentity;
import gov.va.med.fw.service.trigger.TriggerableService;
import gov.va.med.fw.util.StringUtils;


public class TestImport1095BResponsesPDF extends
	RuleAbstractTestCase //AbstractScheduledProcessTest
{

	private CampLejeuneImportProcess batchProcess;
	/**
	 * @return Returns the batchProcess.
	 */
	public CampLejeuneImportProcess getBatchProcess() {
		return batchProcess;
	}

	/**
	 * @param batchProcess The batchProcess to set.
	 */
	public void setBatchProcess(CampLejeuneImportProcess batchProcess) {
		this.batchProcess = batchProcess;
	}

	/* (non-Javadoc)
	 * @see gov.va.med.esr.common.batchprocess.AbstractScheduledProcessTest#getScheduledProcess()
	 */
	protected ScheduledProcess getScheduledProcess() {
		return getBatchProcess();
	}    

	public void testOriginalSampleFile() throws Exception
	{
		//run the batch job
		ScheduledProcess process = (ScheduledProcess) this.applicationContext.getBean("common.batchprocess.Import1095BResponsesPDF");
		process.invoke(null);
	}
}