use of edu.cornell.kfs.concur.batch.fixture.ConcurParameterConstantsFixture in project cu-kfs by CU-CommunityApps.
the class ConcurStandardAccountingExtractValidationServiceImplTest method setUp.
@Before
public void setUp() throws Exception {
Logger.getLogger(ConcurStandardAccountingExtractValidationServiceImpl.class).setLevel(Level.DEBUG);
concurBatchUtilityService = new TestableConcurBatchUtilityServiceImpl();
concurEmployeeInfoValidationService = new TestableConcurEmployeeInfoValidationServiceImpl();
concurStandardAccountingValidationService = new ConcurStandardAccountingExtractValidationServiceImpl();
concurStandardAccountingValidationService.setConcurBatchUtilityService(concurBatchUtilityService);
concurStandardAccountingValidationService.setConcurEmployeeInfoValidationService(concurEmployeeInfoValidationService);
KualiDecimal[] debits = { new KualiDecimal(100.75), new KualiDecimal(-50.45) };
KualiDecimal[] credits = {};
cornellUppercasefile = ConcurStandardAccountingExtractFileFixture.buildConcurStandardAccountingExtractFile(debits, credits, CORNELL_UPPERCASE_GROUP_ID);
cornellMixedcaseFile = ConcurStandardAccountingExtractFileFixture.buildConcurStandardAccountingExtractFile(debits, credits, CORNELL_MIXED_CASE_GROUP_ID);
executivesFile = ConcurStandardAccountingExtractFileFixture.buildConcurStandardAccountingExtractFile(debits, credits, EXECUTIVES_GROUP_ID);
nullGroupIdFile = ConcurStandardAccountingExtractFileFixture.buildConcurStandardAccountingExtractFile(debits, credits, NULL_GROUP_ID);
fooGroupIdFile = ConcurStandardAccountingExtractFileFixture.buildConcurStandardAccountingExtractFile(debits, credits, FOO_GROUP_ID);
reportData = new ConcurStandardAccountingExtractBatchReportData();
concurParameterConstantsFixture = new ConcurParameterConstantsFixture();
}
use of edu.cornell.kfs.concur.batch.fixture.ConcurParameterConstantsFixture in project cu-kfs by CU-CommunityApps.
the class ConcurRequestExtractFileValidationServiceImplTest method setUp.
@Before
public void setUp() throws Exception {
Logger.getLogger(ConcurRequestExtractFileValidationServiceImpl.class).setLevel(Level.DEBUG);
concurRequestExtractFileValidationService = new ConcurRequestExtractFileValidationServiceImpl();
concurBatchUtilityService = new TestableConcurBatchUtilityServiceImpl();
concurEmployeeInfoValidationService = new TestableConcurEmployeeInfoValidationServiceImpl();
concurRequestExtractFileValidationService.setConcurBatchUtilityService(concurBatchUtilityService);
concurRequestExtractFileValidationService.setConcurEmployeeInfoValidationService(concurEmployeeInfoValidationService);
configurationService = new TestableConfigurationServiceImpl();
concurRequestExtractFileValidationService.setConfigurationService(configurationService);
concurParameterConstantsFixture = new ConcurParameterConstantsFixture();
concurApplicationPropertiesFixture = new ConcurApplicationPropertiesFixture();
}
Aggregations