1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.krad.data;
18
19 import org.junit.Test;
20 import org.kuali.rice.krad.datadictionary.DocumentEntry;
21 import org.kuali.rice.krad.test.KRADTestCase;
22 import org.kuali.rice.krad.test.TestDictionaryConfig;
23
24 import static org.junit.Assert.assertEquals;
25
26
27
28
29 @TestDictionaryConfig( namespaceCode="KRAD",
30 dataDictionaryFiles="classpath:org/kuali/rice/krad/test/datadictionary/TestDocumentEntry.xml" )
31 public class DataDictionaryTravelAccountDocumentEntryTest extends KRADTestCase {
32
33 protected static final String MAIN_DATA_OBJECT_FOR_TESTING = "org.kuali.rice.krad.test.document.bo.Account";
34
35 @Test
36 public void verifyDocumentEntry() {
37 DocumentEntry entry = dd.getDocumentEntry( "AccountMaintenanceDocument" );
38 assertEquals( "The business rule class does not match.",
39 "org.kuali.rice.krad.test.document.BusinessRuleImpl",
40 entry.getBusinessRulesClass().getName() );
41 }
42 }