aboutsummaryrefslogtreecommitdiffstats
path: root/ONAP-REST
diff options
context:
space:
mode:
authorbobbymander <bobby.mander@att.com>2018-02-26 13:11:34 -0500
committerbobbymander <bobby.mander@att.com>2018-02-26 14:06:56 -0500
commit690d0d14418c84a5a1e52b36cea74c797c2c8819 (patch)
treed14ed41d1e80c4b24aac28cf708d80b0e3c7eb5b /ONAP-REST
parent03fecc4a9b6149f08e3be308dc01ad08ed9c1fb9 (diff)
JUnit additions for BRMS,PDP-REST,REST
Issue-ID: POLICY-598 Change-Id: I397ed925bdb43a4b2f7a94cc4692b6506f650ede Signed-off-by: bobbymander <bobby.mander@att.com>
Diffstat (limited to 'ONAP-REST')
-rw-r--r--ONAP-REST/src/test/java/org/onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java8
1 files changed, 7 insertions, 1 deletions
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");
+ }
}