Remove redundant exception declarations
[openflowplugin.git] / applications / forwardingrules-manager / src / test / java / org / opendaylight / openflowplugin / applications / frm / impl / DeviceMastershipManagerTest.java
index 1d31b9ca2f7908f5ee831ad2df945fe1bf937f9c..92a0d65c15f43170014f03d32a9f8a28334daaf5 100644 (file)
@@ -51,7 +51,7 @@ public class DeviceMastershipManagerTest {
     private FrmReconciliationService reconciliationService;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         deviceMastershipManager = new DeviceMastershipManager(clusterSingletonService, reconciliationAgent, dataBroker,
                 mastershipChangeServiceManager, rpcProviderService, reconciliationService);
         Mockito.lenient().when(clusterSingletonService
@@ -62,7 +62,7 @@ public class DeviceMastershipManagerTest {
     }
 
     @Test
-    public void testOnDeviceConnectedAndDisconnected() throws Exception {
+    public void testOnDeviceConnectedAndDisconnected() {
         // no context
         Assert.assertNull(deviceMastershipManager.getDeviceMasterships().get(deviceInfo.getNodeId()));
         deviceMastershipManager.onBecomeOwner(deviceInfo);