Migrate to UntypedAbstractActor
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / test / java / org / opendaylight / controller / remote / rpc / RemoteRpcProviderFactoryTest.java
index 14e0cae426262d595ac6eb120d48660b394bbfa5..3481d5b15f0b0eec545347e5d1d19a00274e7761 100644 (file)
@@ -14,8 +14,8 @@ import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mock;
-import org.opendaylight.controller.md.sal.dom.api.DOMRpcProviderService;
-import org.opendaylight.controller.md.sal.dom.api.DOMRpcService;
+import org.opendaylight.mdsal.dom.api.DOMRpcProviderService;
+import org.opendaylight.mdsal.dom.api.DOMRpcService;
 
 public class RemoteRpcProviderFactoryTest {
 
@@ -29,33 +29,33 @@ public class RemoteRpcProviderFactoryTest {
     private RemoteRpcProviderConfig providerConfig;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         initMocks(this);
     }
 
     @Test
-    public void testCreateInstance() throws Exception {
+    public void testCreateInstance() {
         Assert.assertNotNull(RemoteRpcProviderFactory
                 .createInstance(providerService, rpcService, actorSystem, providerConfig));
     }
 
     @Test(expected = NullPointerException.class)
-    public void testCreateInstanceMissingProvideService() throws Exception {
+    public void testCreateInstanceMissingProvideService() {
         RemoteRpcProviderFactory.createInstance(null, rpcService, actorSystem, providerConfig);
     }
 
     @Test(expected = NullPointerException.class)
-    public void testCreateInstanceMissingRpcService() throws Exception {
+    public void testCreateInstanceMissingRpcService() {
         RemoteRpcProviderFactory.createInstance(providerService, null, actorSystem, providerConfig);
     }
 
     @Test(expected = NullPointerException.class)
-    public void testCreateInstanceMissingActorSystem() throws Exception {
+    public void testCreateInstanceMissingActorSystem() {
         RemoteRpcProviderFactory.createInstance(providerService, rpcService, null, providerConfig);
     }
 
     @Test(expected = NullPointerException.class)
-    public void testCreateInstanceMissingProviderConfig() throws Exception {
+    public void testCreateInstanceMissingProviderConfig() {
         RemoteRpcProviderFactory.createInstance(providerService, rpcService, actorSystem, null);
     }
-}
\ No newline at end of file
+}