summaryrefslogtreecommitdiffstats
path: root/policy-utils/src
diff options
context:
space:
mode:
Diffstat (limited to 'policy-utils/src')
-rw-r--r--policy-utils/src/test/java/org/onap/policy/drools/utils/TripleTest.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/policy-utils/src/test/java/org/onap/policy/drools/utils/TripleTest.java b/policy-utils/src/test/java/org/onap/policy/drools/utils/TripleTest.java
index 7f04b163..b62c9530 100644
--- a/policy-utils/src/test/java/org/onap/policy/drools/utils/TripleTest.java
+++ b/policy-utils/src/test/java/org/onap/policy/drools/utils/TripleTest.java
@@ -31,32 +31,32 @@ public class TripleTest {
Triple<String, String, String> triple =
new Triple<>("one", "two", "three");
- Assert.assertTrue("one".equals(triple.first()));
- Assert.assertTrue("one".equals(triple.getFirst()));
+ Assert.assertEquals("one", triple.first());
+ Assert.assertEquals("one", triple.getFirst());
- Assert.assertTrue("two".equals(triple.second()));
- Assert.assertTrue("two".equals(triple.getSecond()));
+ Assert.assertEquals("two", triple.second());
+ Assert.assertEquals("two", triple.getSecond());
- Assert.assertTrue("three".equals(triple.third()));
- Assert.assertTrue("three".equals(triple.getThird()));
+ Assert.assertEquals("three", triple.third());
+ Assert.assertEquals("three", triple.getThird());
triple.first("I");
- Assert.assertTrue("I".equals(triple.first()));
+ Assert.assertEquals("I", triple.first());
triple.setFirst("1");
- Assert.assertTrue("1".equals(triple.first()));
+ Assert.assertEquals("1", triple.first());
triple.second("2");
- Assert.assertTrue("2".equals(triple.second()));
+ Assert.assertEquals("2", triple.second());
triple.setSecond("II");
- Assert.assertTrue("II".equals(triple.second()));
+ Assert.assertEquals("II", triple.second());
triple.third("3");
- Assert.assertTrue("3".equals(triple.third()));
+ Assert.assertEquals("3", triple.third());
triple.setThird("III");
- Assert.assertTrue("III".equals(triple.third()));
+ Assert.assertEquals("III", triple.third());
}
} \ No newline at end of file