1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.kim.impl.role;
18
19 import org.junit.After;
20 import org.junit.Before;
21 import org.kuali.rice.kim.api.role.RoleService;
22 import org.kuali.rice.kim.api.type.KimTypeInfoService;
23 import org.kuali.rice.kim.impl.group.GroupServiceImplTest;
24 import org.kuali.rice.test.remote.RemoteTestHarness;
25
26
27
28
29 public class RoleServiceRemoteTest extends RoleServiceImplTest {
30 RemoteTestHarness harness = new RemoteTestHarness();
31
32 @Before
33 @Override
34 public void setupServiceUnderTest() {
35 super.setupServiceUnderTest();
36 RoleService remoteProxy = harness.publishEndpointAndReturnProxy(RoleService.class, this.getRoleServiceImpl());
37 super.setRoleService(remoteProxy);
38 }
39
40 @After
41 public void unPublishEndpoint() {
42 harness.stopEndpoint();
43 }
44 }