summaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src
diff options
context:
space:
mode:
Diffstat (limited to 'ONAP-REST/src')
-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");
+ }
}