summaryrefslogtreecommitdiffstats
path: root/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java
diff options
context:
space:
mode:
Diffstat (limited to 'huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java')
-rw-r--r--huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java b/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java
index 84de1a25..fb220392 100644
--- a/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java
+++ b/huawei/vnfmadapter/VnfmadapterService/service/src/test/java/org/onap/vfc/nfvo/vnfm/svnfm/vnfmadapter/common/restclient/TestHttpRest.java
@@ -79,12 +79,12 @@ public class TestHttpRest {
httpClient.start();
Request request = httpClient.newRequest("http://reqres.in/api/users/2");
ContentResponse contentResponse = request.send();
- new MockUp<HttpBaseRest>() {
- @Mock
- public ContentResponse getResponse() {
- return contentResponse;
- }
- };
+// new MockUp<HttpBaseRest>() {
+// @Mock
+// public ContentResponse getResponse() {
+// return contentResponse;
+// }
+// };
}
/**
@@ -127,12 +127,12 @@ public class TestHttpRest {
@Test
public void testInitHttpRest() throws Exception {
final RestfulOptions options = new RestfulOptions();
- new MockUp<HttpClient>() {
-
- @Mock
- public void doStart() {
- }
- };
+// new MockUp<HttpClient>() {
+//
+// @Mock
+// public void doStart() {
+// }
+// };
final HttpRest httpRest = new HttpRest();
httpRest.initHttpRest(options);
final Field httpClient = HttpBaseRest.class.getDeclaredField("client");