diff options
author | bobbymander <bobby.mander@att.com> | 2018-02-26 13:11:34 -0500 |
---|---|---|
committer | bobbymander <bobby.mander@att.com> | 2018-02-26 14:06:56 -0500 |
commit | 690d0d14418c84a5a1e52b36cea74c797c2c8819 (patch) | |
tree | d14ed41d1e80c4b24aac28cf708d80b0e3c7eb5b /ONAP-REST/src/test | |
parent | 03fecc4a9b6149f08e3be308dc01ad08ed9c1fb9 (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/src/test')
-rw-r--r-- | ONAP-REST/src/test/java/org/onap/policy/rest/adapter/ClosedLoopPolicyAdaptersTest.java | 8 |
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"); + } } |