X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=inline;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fcluster%2Fdatastore%2Futils%2FActorContextTest.java;h=e4ab969f5c4351c0e5b3894d3d3115aa6322337a;hb=7b963a588f2438b0d8cfe95e384ba36e417d925e;hp=fcb0324bea77e1608dbd8b6d3d7f2077d2c27c4c;hpb=fcf65d723ef53f8da2dd6347f41ce19016fc36e5;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ActorContextTest.java b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ActorContextTest.java index fcb0324bea..e4ab969f5c 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ActorContextTest.java +++ b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/ActorContextTest.java @@ -1,8 +1,10 @@ package org.opendaylight.controller.cluster.datastore.utils; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertTrue; +import static org.mockito.Mockito.mock; import akka.actor.ActorRef; import akka.actor.ActorSelection; -import akka.actor.ActorSystem; import akka.actor.Address; import akka.actor.Props; import akka.actor.UntypedActor; @@ -21,10 +23,6 @@ import scala.concurrent.Await; import scala.concurrent.Future; import scala.concurrent.duration.Duration; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; -import static org.mockito.Mockito.mock; - public class ActorContextTest extends AbstractActorTest{ private static class MockShardManager extends UntypedActor { @@ -224,7 +222,7 @@ public class ActorContextTest extends AbstractActorTest{ @Test public void testResolvePathForRemoteActor() { ActorContext actorContext = - new ActorContext(mock(ActorSystem.class), mock(ActorRef.class), mock( + new ActorContext(getSystem(), mock(ActorRef.class), mock( ClusterWrapper.class), mock(Configuration.class));