From 235f533323f87d6fb385c630b2bbae0345bd1d62 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Sat, 12 Jan 2019 00:04:50 +0530 Subject: added test case to PolicyConfigTest.java to increase code coverage Issue-ID: CCSDK-552 Change-Id: Ifd6a6bbfea531fcb3ebb9ab8cef63bc26eb2f7d0 Signed-off-by: Sandeep J --- .../apps/ms/vlantagapi/core/extinf/pm/model/PolicyConfigTest.java | 6 ++++++ 1 file changed, 6 insertions(+) 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 @@ -104,6 +104,12 @@ public class PolicyConfigTest { assertEquals("TemplateVersion", policyConfig.getTemplateVersion()); } + @Test + public void testGetSetRiskType() { + policyConfig.setRiskType("RiskType"); + assertEquals("RiskType", policyConfig.getRiskType()); + } + @Test public void testToString() { -- cgit 1.2.3-korg