added test case to TestVnf.java
[appc.git] / appc-dg / appc-dg-shared / appc-dg-domain-model-lib / src / test / java / org / onap / appc / domainmodel / TestVnf.java
index bace7cd..0503a7c 100644 (file)
@@ -4,6 +4,8 @@
 * ================================================================================
 * Copyright 2018 TechMahindra
 *=================================================================================
+* Modifications Copyright 2018 IBM.
+*=================================================================================
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
@@ -99,4 +101,12 @@ public class TestVnf {
         vnf.setVservers(vserverList);
         assertTrue(vnf.getVnfcs()!=null);
     }
+    
+    @Test
+    public void testGetSetIdentityUrl()
+    {
+      Vnf vnf = new Vnf();
+      vnf.setIdentityUrl("testIdentityUrl");
+      assertEquals("testIdentityUrl", vnf.getIdentityUrl());
+    }
 }