aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Nelson <nelson24@att.com>2019-01-29 18:39:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-29 18:39:22 +0000
commitc258d0c5925064db796153b4e64a2530477f8132 (patch)
tree66c59ca601e4f6b649cbc3aff9aaafb1a7de234c
parent10b8867740d00a43ea6adcad443d1a0fd5bd0ba6 (diff)
parent1eca204b16f9959db411eaa100788318dfbe6a04 (diff)
Merge "added test case to JsonTableTest.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());
+ }
}