aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxu ran <xuranyjy@chinamobile.com>2020-05-06 03:23:28 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-06 03:23:28 +0000
commite352add44b8c1f414edbc246bd62cf542037f79d (patch)
treec3edcd1dd3019ef9330beaba6e1eafeb1b74b488
parent6787b2f2da53376d2a373c65cf710f5af7f6e720 (diff)
parent953f942750c278c52c9ea6c0488a1e7f6b42942c (diff)
Merge "Junit testcase for AAICustomer"
-rw-r--r--server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomerTest.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomerTest.java b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomerTest.java
index 2d177f6b..4a414297 100644
--- a/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomerTest.java
+++ b/server/src/test/java/org/onap/usecaseui/server/service/lcm/domain/aai/bean/AAICustomerTest.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;
@@ -56,5 +57,10 @@ public class AAICustomerTest {
ac.getGlobalCustomerId();
ac.getSubscriberName();
ac.getSubscriberType();
+ ac.getResourceVersion();
+ Assert.assertEquals(ac.getGlobalCustomerId(),"globalCustomerId");
+ Assert.assertEquals(ac.getResourceVersion(),"resourceVersion");
+ Assert.assertEquals(ac.getSubscriberName(),"subscriberName");
+ Assert.assertEquals(ac.getSubscriberType(),"subscriberType");
}
}