diff options
author | luxin <luxin7@huawei.com> | 2018-01-30 15:30:39 +0800 |
---|---|---|
committer | luxin <luxin7@huawei.com> | 2018-01-30 15:30:39 +0800 |
commit | 66cdc4e1b6bbf806a5e0d31904056fd3ef12c54e (patch) | |
tree | 9fa2c4509d6f719dff8045c1660a4f816e020d0c /ResmanagementService/service | |
parent | 61a859f567dde02591bd999ea3b77fa1356d0b9b (diff) |
Fix the failed UT case
Change-Id: I35aea98170b1fd9cd7fac486dd161af5f52486fd
Issue-ID: VFC-672
Signed-off-by: luxin <luxin7@huawei.com>
Diffstat (limited to 'ResmanagementService/service')
-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 |