summaryrefslogtreecommitdiffstats
path: root/ms
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-01-11 22:22:34 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-11 22:22:34 +0000
commitd0c0646ceeac3e748f46f3f8d257084ca86f42c9 (patch)
treee71c5f9f9bd9e2544c48f07c706902ee298f9ce1 /ms
parent6d90419c96445df418a9ee03a09d259068eba532 (diff)
parent235f533323f87d6fb385c630b2bbae0345bd1d62 (diff)
Merge "added test case to PolicyConfigTest.java"
Diffstat (limited to 'ms')
-rw-r--r--ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java
index cf928ce0..a0d18b4c 100644
--- a/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java
+++ b/ms/vlantag-api/src/test/java/org/onap/ccsdk/apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java
@@ -105,6 +105,12 @@ public class PolicyConfigTest {
}
@Test
+ public void testGetSetRiskType() {
+ policyConfig.setRiskType("RiskType");
+ assertEquals("RiskType", policyConfig.getRiskType());
+ }
+
+ @Test
public void testToString()
{
assertTrue(policyConfig.toString() instanceof String);