First sonar issues review
[dmaap/messagerouter/dmaapclient.git] / src / test / java / org / onap / dmaap / mr / client / impl / MRBatchPublisherTest.java
index f13e7fa..3d1e3d0 100644 (file)
@@ -41,12 +41,12 @@ public class MRBatchPublisherTest {
                
        }
        
-       @Test
+       @Test(expected = Test.None.class /* no exception expected */)
        public void testSend() throws IOException{
                mrBatchPublisher.send("testmessage");
        }
-       
-       @Test
+
+       @Test(expected = Test.None.class /* no exception expected */)
        public void testClose() throws IOException{
                mrBatchPublisher.close();
        }