package gov.va.vss.web;

import org.junit.Before;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.web.WebAppConfiguration;

import gov.va.shared.model.lookup.sds.VAFacility;
import gov.va.shared.model.lookup.sds.VAFacility.VAFacilityValue;
import gov.va.vss.AbstractTransactionalWebTest;
import gov.va.vss.config.WebAppConfig;
import gov.va.vss.config.WebConfig;
import gov.va.vss.config.testOnly.AppTestConfig;

// FIXVSS
@ContextConfiguration(classes = { WebAppConfig.class, AppTestConfig.class, WebConfig.class })
@WebAppConfiguration
public abstract class AbstractTransactionalControllerTest extends AbstractTransactionalWebTest {

	@Before
	protected void setupSessionContextSite() {
		VAFacility vaFacility = new VAFacility();
		vaFacility.setId(VAFacilityValue.CHEYENNE.getId());
		vaFacility.setName(VAFacilityValue.CHEYENNE.getName());
		// FIXVSS push this into session I believe
	}

}
