1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.actionlist.web;
17
18 import org.junit.Test;
19 import org.kuali.rice.kew.actionrequest.KimGroupRecipient;
20 import org.kuali.rice.kew.actionrequest.Recipient;
21 import org.kuali.rice.kew.util.WebFriendlyRecipient;
22 import org.kuali.rice.kim.api.group.Group;
23
24 import java.util.ArrayList;
25 import java.util.Collection;
26 import java.util.List;
27
28
29
30
31 public class ActionListUtilTest {
32
33
34
35
36 @Test
37 public void testGetWebFriendlyRecipientsWithGroup() {
38 Collection<Recipient> recipients = new ArrayList<Recipient>();
39 recipients.add(new KimGroupRecipient(Group.Builder.create("KUALI", "testgroup", "1").build()));
40 ActionListUtil.getWebFriendlyRecipients(recipients);
41 }
42 }