001 package org.kuali.rice.krms.impl.repository; 002 003 import org.junit.After; 004 import org.junit.Before; 005 import org.kuali.rice.krms.api.repository.RuleRepositoryService; 006 import org.kuali.rice.test.remote.RemoteTestHarness; 007 008 public class RuleRepositoryServiceRemoteTest extends RuleRepositoryServiceImplTest { 009 010 RemoteTestHarness harness = new RemoteTestHarness(); 011 012 @Before 013 @Override 014 public void setupServiceUnderTest() { 015 super.setupServiceUnderTest(); 016 RuleRepositoryService remoteProxy = 017 harness.publishEndpointAndReturnProxy(RuleRepositoryServiceImpl.class, this.getRuleRepositoryServiceImpl()); 018 super.setRuleRepositoryService(remoteProxy); 019 } 020 021 @After 022 public void unPublishEndpoint() { 023 harness.stopEndpoint(); 024 } 025 }