Add UT for delete API

Add UT for delete API of VF-C adapter

Change-Id: I9d7921f1f10bf757687d57a8f010ef8e1e404df5
Issue-ID:SO-133
Signed-off-by: c00149107 <chenchuanyu@huawei.com>
diff --git a/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java b/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java
index 1777dea..dc07a3c 100644
--- a/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java
+++ b/adapters/mso-vfc-adapter/src/test/java/org/openecomp/mso/adapters/vfc/VfcAdapterTest.java
@@ -99,7 +99,9 @@
                     return getResponse("createNsRsp.json");
                 } else if(url.contains("instantiate") && methodType.equals(CommonConstant.MethodType.POST)) {
                     return getResponse("instantiateNsRsp.json");
-                } else {
+                } else if(methodType.equals(CommonConstant.MethodType.DELETE)) {
+                    return getResponse(null);
+                }else {
                     return null;
                 }
             }
@@ -177,7 +179,9 @@
 
     @Test
     public void deleteTest() {
-
+        // get request
+        mockRestfulUtil(FILE_PATH + "deleteNsReq.json");
+        vfcAdapter.deleteNfvoNs(null, "9b9f02c0-298b-458a-bc9c-be3692e4f354");
     }
 
     @Test
diff --git a/adapters/mso-vfc-adapter/src/test/resources/json/deleteNsReq.json b/adapters/mso-vfc-adapter/src/test/resources/json/deleteNsReq.json
index 4f7c29f..ac095e6 100644
--- a/adapters/mso-vfc-adapter/src/test/resources/json/deleteNsReq.json
+++ b/adapters/mso-vfc-adapter/src/test/resources/json/deleteNsReq.json
@@ -1,4 +1,6 @@
 {
+    "globalSubscriberId":"9b9f02c0-298b-458a-bc9c-be3692e4f350",
+    "serviceType":"service",
     "serviceId":"9b9f02c0-298b-458a-bc9c-be3692e4f351",
     "operationId":"9b9f02c0-298b-458a-bc9c-be3692e4f352",
     "nodeTemplateUUID":"9b9f02c0-298b-458a-bc9c-be3692e4f353"