summaryrefslogtreecommitdiffstats
path: root/ONAP-REST/src/test/java/org
diff options
context:
space:
mode:
authorbobbymander <bobby.mander@att.com>2018-03-21 15:35:14 -0400
committerbobbymander <bobby.mander@att.com>2018-03-21 16:43:22 -0400
commit62af066c48e0cafe69161c87f12bff193cf97d36 (patch)
tree1c9a696007affbd5d061bfdd179cd7b39755a710 /ONAP-REST/src/test/java/org
parent4938fc8ff0a231e26d63c06016365bea5c021c3f (diff)
JUnit additions for PDP-REST,REST,SDK-APP
Issue-ID: POLICY-584 Change-Id: I3b16e2a957e67ecfe5c28d2afaa09771ae891216 Signed-off-by: bobbymander <bobby.mander@att.com>
Diffstat (limited to 'ONAP-REST/src/test/java/org')
-rw-r--r--ONAP-REST/src/test/java/org/onap/policy/rest/util/PDPPolicyContainerTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/ONAP-REST/src/test/java/org/onap/policy/rest/util/PDPPolicyContainerTest.java b/ONAP-REST/src/test/java/org/onap/policy/rest/util/PDPPolicyContainerTest.java
index 457df7062..9302df3b5 100644
--- a/ONAP-REST/src/test/java/org/onap/policy/rest/util/PDPPolicyContainerTest.java
+++ b/ONAP-REST/src/test/java/org/onap/policy/rest/util/PDPPolicyContainerTest.java
@@ -128,11 +128,11 @@ public class PDPPolicyContainerTest {
@Test
public void testPDPPolicyItem() {
PDPPolicyItem item = container.new PDPPolicyItem(policy);
- assertEquals(item.getId(), "Config_test");
- assertEquals(item.getName(), "Config_test.1.xml");
- assertEquals(item.getVersion(), "1.0");
- assertEquals(item.getDescription(), "testDescription");
+ assertEquals("Config_test", item.getId());
+ assertEquals("Config_test.1.xml", item.getName());
+ assertEquals("1.0", item.getVersion());
+ assertEquals("testDescription", item.getDescription());
item.setRoot(true);
- assertEquals(item.getRoot(), true);
+ assertEquals(true, item.getRoot());
}
}