1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.kuali.rice.krms.impl.repository;
18
19 import org.junit.After;
20 import org.junit.Before;
21 import org.kuali.rice.krms.api.repository.function.FunctionRepositoryService;
22 import org.kuali.rice.krms.api.repository.term.TermRepositoryService;
23 import org.kuali.rice.test.remote.RemoteTestHarness;
24
25 public class FunctionRepositoryServiceRemoteTest extends FunctionRepositoryServiceTest {
26
27 RemoteTestHarness harness = new RemoteTestHarness();
28
29 @Before
30 @Override
31 public void setupServiceUnderTest() {
32 super.setupServiceUnderTest();
33 FunctionRepositoryService remoteProxy =
34 harness.publishEndpointAndReturnProxy(FunctionRepositoryService.class, this.getFunctionRepositoryServiceImpl());
35 super.setFunctionRepositoryService(remoteProxy);
36 }
37
38 @After
39 public void unPublishEndpoint() {
40 harness.stopEndpoint();
41 }
42 }