Migrate from JavaTestKit to javadsl.TestKit
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / test / java / org / opendaylight / controller / cluster / notifications / RoleChangeNotifierTest.java
index ab65929fe7662fd168d9b75abdb009537c25a234..c361963acacf2e1d4df872a0a25aba03cfb484ba 100644 (file)
@@ -9,8 +9,8 @@ package org.opendaylight.controller.cluster.notifications;
 
 import akka.actor.ActorRef;
 import akka.actor.ActorSystem;
-import akka.testkit.JavaTestKit;
 import akka.testkit.TestProbe;
+import akka.testkit.javadsl.TestKit;
 import java.util.ArrayList;
 import java.util.List;
 import org.junit.After;
@@ -38,7 +38,7 @@ public class RoleChangeNotifierTest {
 
     @After
     public void tearDown() throws Exception {
-        JavaTestKit.shutdownActorSystem(system);
+        TestKit.shutdownActorSystem(system);
     }
 
     @Test