summaryrefslogtreecommitdiffstats
path: root/esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java')
-rw-r--r--esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java b/esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java
index da5d27e..fbfc68a 100644
--- a/esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java
+++ b/esr-mgr/src/test/java/org/onap/aai/esr/externalservice/aai/ExternalSystemProxyTest.java
@@ -21,6 +21,7 @@ import org.onap.aai.esr.common.MsbConfig;
import org.onap.aai.esr.entity.aai.EsrEmsDetail;
import org.onap.aai.esr.entity.aai.EsrThirdpartySdncDetail;
import org.onap.aai.esr.entity.aai.EsrVnfmDetail;
+import org.onap.aai.esr.entity.aai.EsrNfvoDetail;
import org.onap.aai.esr.exception.ExtsysException;
public class ExternalSystemProxyTest {
@@ -55,6 +56,30 @@ public class ExternalSystemProxyTest {
}
@Test(expected = ExtsysException.class)
+ public void testRegisterNfvo() throws ExtsysException {
+ EsrNfvoDetail detail = new EsrNfvoDetail();
+ externalSystemProxy.registerNfvo("nfvo-1", detail);
+ }
+
+ @Test(expected = ExtsysException.class)
+ public void testQueryNfvoDetail() throws ExtsysException {
+ externalSystemProxy.queryNfvoDetail("nfvo-1");
+ }
+
+ @Test(expected = ExtsysException.class)
+ public void testQueryNfvoList() throws ExtsysException {
+ externalSystemProxy.queryNfvoList();
+ }
+
+ @Test(expected = ExtsysException.class)
+ public void testDeleteNfvo() throws ExtsysException {
+ externalSystemProxy.deleteNfvo("nfvo-1", "version-1");
+ }
+
+
+
+
+ @Test(expected = ExtsysException.class)
public void testRegisterSdnc() throws ExtsysException {
EsrThirdpartySdncDetail detail = new EsrThirdpartySdncDetail();
externalSystemProxy.registerSdnc("sdnc-1", detail);