From 22ef80708bf26b98c96506fafce7b58ba88226e4 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Sun, 12 Aug 2018 19:53:06 +0530 Subject: added test case to TestVnf.java to increase code coverage Issue-ID: APPC-1086 Change-Id: I08abe39eeb7e2f94115c6cd54c7310c16189c1ec Signed-off-by: Sandeep J --- .../src/test/java/org/onap/appc/domainmodel/TestVnf.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java') diff --git a/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java b/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java index bace7cd83..0503a7ce4 100644 --- a/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java +++ b/appc-dg/appc-dg-shared/appc-dg-domain-model-lib/src/test/java/org/onap/appc/domainmodel/TestVnf.java @@ -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()); + } } -- cgit 1.2.3-korg