aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-25 22:33:38 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-25 22:34:52 +0530
commit1eca204b16f9959db411eaa100788318dfbe6a04 (patch)
tree187940c4227b2f0078726b114cde42662da87393 /src/test/java
parent29056ff8d72d4f50073f6993ee6bd1b7ee7caf91 (diff)
added test case to JsonTableTest.java
to increase code coverage Issue-ID: MUSIC-182 Change-Id: I913315c825c9560d48f240dd7ca7c8d4bf36ee37 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java b/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java
index e4c800fc..2279cf0b 100644
--- a/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java
+++ b/src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java
@@ -4,6 +4,8 @@
* ===================================================================
* Copyright (c) 2017 AT&T Intellectual Property
* ===================================================================
+ * Modifications Copyright (c) 2019 IBM.
+ * ===================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -95,5 +97,11 @@ public class JsonTableTest {
jt.setPrimaryKey(primaryKey);
assertEquals(primaryKey,jt.getPrimaryKey());
}
+
+ @Test
+ public void testFilteringKey() {
+ jt.setFilteringKey("FilteringKey");
+ assertEquals("FilteringKey",jt.getFilteringKey());
+ }
}