diff options
Diffstat (limited to 'ResmanagementService/service/src')
-rw-r--r-- | ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/TestRestfulFactory.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/TestRestfulFactory.java b/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/TestRestfulFactory.java index bd2acf7..4d55a7a 100644 --- a/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/TestRestfulFactory.java +++ b/ResmanagementService/service/src/test/java/org/onap/vfc/nfvo/resmanagement/common/util/restclient/TestRestfulFactory.java @@ -17,7 +17,6 @@ package org.onap.vfc.nfvo.resmanagement.common.util.restclient; import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; import org.junit.After; import org.junit.AfterClass; @@ -89,7 +88,7 @@ public class TestRestfulFactory { @Test public void testGetRestInstance() { Restful instance = RestfulFactory.getRestInstance("https"); - assertNull(instance); + new MockUp<HttpRest>() { @Mock |