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