/*
 * Created on Apr 7, 2006
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package gov.va.med.esr.common.persistent.hibernate;

import java.util.Iterator;
import java.util.Set;

import org.hibernate.SessionFactory;

import gov.va.med.esr.common.model.lookup.BadAddressReason;
import gov.va.med.esr.common.model.party.Address;
import gov.va.med.esr.common.model.person.Person;
import gov.va.med.esr.common.persistent.comms.ExportFileDAO;
import gov.va.med.esr.common.persistent.comms.hibernate.ExportFileDAOImpl;
import gov.va.med.esr.common.util.DataSetupTestCase;
import gov.va.med.fw.model.AbstractKeyedEntity;

/**
 * @author DNS   TSAIG
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class ExportFileDAOTest extends DataSetupTestCase  {

    private SessionFactory sessionFactory;
    
    public void testEmptyFileName() throws Exception
    {
        ExportFileDAO fileDAO = (ExportFileDAO)applicationContext.getBean("exportFileDAO");
        
        String fileName = fileDAO.getAacFileName(fileDAO.getAacExtractId());
        
    }
    
    public SessionFactory getSessionFactory() {
        if (sessionFactory == null) {
            Object bean = applicationContext.getBean( "sessionFactory" );
            sessionFactory = bean instanceof SessionFactory ? (SessionFactory)bean : null; 
        }
        return sessionFactory;
    }
    
    protected AbstractKeyedEntity setUpTestObject() throws Exception {
        return null;
    }
    
    protected void modifyTestObject(AbstractKeyedEntity obj) throws Exception {

    }
}
