Remove redundant exception declarations
[openflowplugin.git] / openflowplugin-impl / src / test / java / org / opendaylight / openflowplugin / impl / statistics / StatisticsPollingServiceTest.java
index 605f16ed5a99a86f5c4c380a0cccd057ed0c8d8d..20f37d1ae23b42ecc34c5e88f2f6ad6c0b0deb2e 100644 (file)
@@ -30,7 +30,7 @@ public class StatisticsPollingServiceTest {
     private StatisticsPollingService statisticsPollingService;
 
     @Before
-    public void setUp() throws Exception {
+    public void setUp() {
         when(timeCounter.getAverageTimeBetweenMarks()).thenReturn(15000L);
         when(gatheringSupplier.get()).thenReturn(Futures.immediateFuture(true));
         statisticsPollingService = new StatisticsPollingService(
@@ -39,7 +39,7 @@ public class StatisticsPollingServiceTest {
     }
 
     @Test
-    public void startUp() throws Exception {
+    public void startUp() {
         statisticsPollingService.startUp();
         verify(timeCounter).markStart();
     }
@@ -52,7 +52,7 @@ public class StatisticsPollingServiceTest {
     }
 
     @Test
-    public void scheduler() throws Exception {
+    public void scheduler() {
         statisticsPollingService.scheduler();
         verify(timeCounter).getAverageTimeBetweenMarks();
     }