1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.ksb.impl.registry;
17
18 import org.junit.After;
19 import org.junit.Before;
20 import org.kuali.rice.ksb.api.registry.ServiceRegistry;
21 import org.kuali.rice.test.remote.RemoteTestHarness;
22
23
24 public class ServiceRegistryImplRemoteTest extends ServiceRegistryImplTest {
25
26 RemoteTestHarness harness = new RemoteTestHarness();
27
28 @Before
29 public void setupRemoteTest() {
30 ServiceRegistry remoteProxy =
31 harness.publishEndpointAndReturnProxy(ServiceRegistry.class, getServiceRegistry());
32 setServiceRegistry(remoteProxy);
33 }
34
35 @After
36 public void unPublishEndpoint() {
37 harness.stopEndpoint();
38 }
39
40 }