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 DocumentAttachmentTest {
32
33 DocumentAttachment dummyDocumentAttachment;
34
35 @Before
36 public void setUp() throws Exception {
37 dummyDocumentAttachment = new DocumentAttachment();
38 }
39
40 @After
41 public void tearDown() throws Exception {
42 dummyDocumentAttachment = null;
43 }
44
45 @Test
46
47
48
49 public void testDocumentNumber(){
50 dummyDocumentAttachment.setDocumentNumber("c122");
51 assertEquals("Testing DocumentNumber in DocumnetAttchment", "c122", dummyDocumentAttachment.getDocumentNumber());
52 }
53 }