1 /**
2 * Copyright 2005-2014 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
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 * Contains test data objects
24 *
25 * @author Kuali Rice Team (rice.collab@kuali.org)
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 }