From 690d0d14418c84a5a1e52b36cea74c797c2c8819 Mon Sep 17 00:00:00 2001 From: bobbymander Date: Mon, 26 Feb 2018 13:11:34 -0500 Subject: JUnit additions for BRMS,PDP-REST,REST Issue-ID: POLICY-598 Change-Id: I397ed925bdb43a4b2f7a94cc4692b6506f650ede Signed-off-by: bobbymander --- .../onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'ONAP-REST/src/test') diff --git a/ONAP-REST/src/test/java/org/onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java b/ONAP-REST/src/test/java/org/onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java index 6f310e09c..a153efe25 100644 --- a/ONAP-REST/src/test/java/org/onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java +++ b/ONAP-REST/src/test/java/org/onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java @@ -19,8 +19,8 @@ */ package org.onap.policy.rest.adapter; +import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; - import java.util.ArrayList; import java.util.HashMap; import java.util.List; @@ -158,4 +158,10 @@ public class ClosedLoopPolicyAdaptersTest { pmBody.setGeoLink("Test"); assertTrue("Test".equals(pmBody.getGeoLink())); } + + @Test + public void testClosedLoopPolicyStatus() { + assertEquals(ClosedLoopPolicyStatus.ACTIVE.toString(), "active"); + assertEquals(ClosedLoopPolicyStatus.INACTIVE.toString(), "inactive"); + } } -- cgit 1.2.3-korg