added test case to TestVnf.java 55/60155/3
authorSandeep J <sandeejh@in.ibm.com>
Sun, 12 Aug 2018 14:23:06 +0000 (19:53 +0530)
committerTakamune Cho <tc012c@att.com>
Thu, 16 Aug 2018 08:38:10 +0000 (08:38 +0000)
to increase code coverage

Issue-ID: APPC-1086
Change-Id: I08abe39eeb7e2f94115c6cd54c7310c16189c1ec
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
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());
+    }
 }