Added Junit testcases 04/107204/1
authorezhil <ezhrajam@in.ibm.com>
Wed, 6 May 2020 09:33:12 +0000 (15:03 +0530)
committerezhil <ezhrajam@in.ibm.com>
Wed, 6 May 2020 09:33:20 +0000 (15:03 +0530)
Issue-ID: USECASEUI-439
Change-Id: I8083b93ec650862f8a8b555a29957f9a357c7270
Signed-off-by: ezhil <ezhrajam@in.ibm.com>
server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscriptionTest.java

index 9344e3c..e584e96 100644 (file)
@@ -15,7 +15,8 @@
  */
 package org.onap.usecaseui.server.service.lcm.domain.aai.bean;
 
-import org.junit.Test; 
+import org.junit.Assert;
+import org.junit.Test;
 import org.junit.Before; 
 import org.junit.After;
 import org.junit.runner.RunWith;
@@ -54,5 +55,7 @@ public class AAIServiceSubscriptionTest {
        public void testAAIServiceSubscription() throws Exception {
                AAIServiceSubscription ass = new AAIServiceSubscription("serviceType","resourceVersion");
                ass.getServiceType();
+               Assert.assertEquals(ass.getServiceType(),"serviceType");
+               Assert.assertEquals(ass.getResourceVersion(),"resourceVersion");
        }
 }