Junit coverage increased
[vfc/nfvo/driver/vnfm/svnfm.git] / huawei / vnfmadapter / VnfmadapterService / service / src / test / java / org / onap / vfc / nfvo / vnfm / svnfm / vnfmadapter / common / restclient / TestRestfulFactory.java
index eccbb8d..820d339 100644 (file)
@@ -89,14 +89,14 @@ public class TestRestfulFactory {
     public void testGetRestInstance() {
         Restful instance = RestfulFactory.getRestInstance("https");
 
-        new MockUp<HttpRest>() {
-
-            @Mock
-            public void initHttpRest(final RestfulOptions option) throws ServiceException {
-                throw new ServiceException();
-            }
-
-        };
+//        new MockUp<HttpRest>() {
+//
+//            @Mock
+//            public void initHttpRest(final RestfulOptions option) throws ServiceException {
+//                throw new ServiceException();
+//            }
+//
+//        };
         instance = RestfulFactory.getRestInstance("http");
         assertNotNull(instance);