diff options
author | xu ran <xuranyjy@chinamobile.com> | 2020-05-07 06:32:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-05-07 06:32:48 +0000 |
commit | 5dd2daa9394d39c2f2e1793212c3787d5dd27b7c (patch) | |
tree | 94bedfacd207eddbe6c679f1c595c7bbef82eb5f | |
parent | a1fb1e626d77d989bf22a2c1e20b3eb1f7e3d608 (diff) | |
parent | fd272c6190a8e82ca19b45d6eac2aae68e8fc9a6 (diff) |
Merge "Added Junit testcases"
-rw-r--r-- | server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscriptionTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscriptionTest.java b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscriptionTest.java index 9344e3c4..e584e96e 100644 --- a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscriptionTest.java +++ b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAIServiceSubscriptionTest.java @@ -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"); } } |