1 package org.kuali.student.krms.util;
2
3 import org.junit.Test;
4 import org.kuali.rice.krad.service.KRADServiceLocator;
5 import org.kuali.student.krms.KSKRMSUploadTestCase;
6
7 public class TestKSKRMSAgendaDataSetupUtility extends KSKRMSUploadTestCase {
8
9 @Test
10 public void testUtility() {
11 System.out.println("test");
12 KSKRMSAgendaDataSetupUtility utility = new KSKRMSAgendaDataSetupUtility();
13 setupKRMSServices(utility);
14 utility.createKSKRMSData();
15 }
16
17 private void setupKRMSServices(KSKRMSAgendaDataSetupUtility utility) {
18 utility.setAgendaBoService(agendaBoService);
19 utility.setContextRepository(contextRepository);
20 utility.setKrmsTypeRepository(krmsTypeRepository);
21 utility.setRuleBoService(ruleBoService);
22 utility.setTermBoService(termBoService);
23 utility.setBoService(KRADServiceLocator.getBusinessObjectService());
24 }
25
26 }