2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.controller.remote.rpc;
13 import akka.actor.ActorSystem;
14 import akka.testkit.JavaTestKit;
15 import com.typesafe.config.Config;
16 import org.junit.AfterClass;
17 import org.junit.BeforeClass;
19 public class RemoteRpcProviderTest {
21 static ActorSystem system;
22 static RemoteRpcProviderConfig moduleConfig;
25 public static void setup() throws InterruptedException {
26 moduleConfig = new RemoteRpcProviderConfig.Builder("odl-cluster-rpc").build();
27 final Config config = moduleConfig.get();
28 system = ActorSystem.create("odl-cluster-rpc", config);
33 public static void teardown() {
34 JavaTestKit.shutdownActorSystem(system);