Remove redundant exception declarations
[openflowplugin.git] / applications / bulk-o-matic / src / test / java / org / opendaylight / openflowplugin / applications / bulk / o / matic / FlowReaderTest.java
index 5e074ea5c3242514385d880c1e1cb437b682a497..a6cb8847a995528fd1409e39d4253203c939fdbe 100644 (file)
@@ -40,7 +40,7 @@ public class FlowReaderTest {
     private FlowReader flowReader;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         doReturn(FluentFutures.immediateFluentFuture(Optional.of(node))).when(readOnlyTransaction)
             .read(any(LogicalDatastoreType.class), any());
         when(mockDataBroker.newReadOnlyTransaction()).thenReturn(readOnlyTransaction);
@@ -48,7 +48,7 @@ public class FlowReaderTest {
     }
 
     @Test
-    public void testRun() throws Exception {
+    public void testRun() {
         flowReader.run();
         Assert.assertEquals(10, flowReader.getFlowCount());
         Assert.assertEquals(FlowCounter.OperationStatus.SUCCESS.status(), flowReader.getReadOpStatus());