1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kcb.test;
17
18 import org.kuali.rice.kcb.bo.Message;
19 import org.kuali.rice.kcb.bo.MessageDelivery;
20 import org.kuali.rice.kcb.bo.MessageDeliveryStatus;
21
22
23
24
25
26
27 public class KCBTestData {
28 public static final Long FAKE_ID = 0xBEEFl;
29 public static final Long INVALID_ID = -1l;
30
31 public static Message getMessage1() {
32 Message m= new Message();
33 m.setId(Long.valueOf(1));
34 m.setChannel("channel1");
35 m.setContent("test content 1");
36 m.setContentType("test content type 1");
37 m.setDeliveryType("test delivery type 1");
38 m.setRecipient("test recipient 1");
39 m.setTitle("test title 1");
40
41 return m;
42 }
43
44 public static MessageDelivery getMessageDelivery1() {
45 MessageDelivery md = new MessageDelivery();
46 md.setDelivererTypeName("mock");
47
48 return md;
49 }
50 }