JUnit additions for BRMS,PDP-REST,REST
[policy/engine.git] / ONAP-REST / src / test / java / org / onap / policy / rest / adapter / ClosedLoopPolicyAdaptersTest.java
index 6f310e0..a153efe 100644 (file)
@@ -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");
+       }
 }