1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.bo;
17
18
19 import org.junit.After;
20 import org.junit.Before;
21 import org.junit.Test;
22
23 import static org.junit.Assert.assertEquals;
24
25
26
27
28
29
30
31 public class AttributeReferenceElementsTest {
32
33 AttributeReferenceElements dummyAttributeReferenceElement;
34 @Before
35 public void setUp() throws Exception {
36 dummyAttributeReferenceElement = new AttributeReferenceElements();
37 }
38
39
40
41
42
43
44 @After
45 public void tearDown() throws Exception {
46 dummyAttributeReferenceElement = null;
47 }
48
49 @Test
50 public void testInfoTextArea(){
51 dummyAttributeReferenceElement.setInfoTextArea("dummyAttributeReferenceElement");
52 assertEquals("Testing InfoTextArea in AttributeReferenceElements.","dummyAttributeReferenceElement",dummyAttributeReferenceElement.getInfoTextArea());
53 }
54
55 @Test
56 public void testExtendedTextArea(){
57 dummyAttributeReferenceElement.setExtendedTextArea("dummyAttributeReferenceElement");
58 assertEquals("Testing ExtendedTextArea in AttributeReferenceElements","dummyAttributeReferenceElement",dummyAttributeReferenceElement.getExtendedTextArea());
59 }
60 }