added test case to JsonTableTest.java 60/76360/1
authorSandeep J <sandeejh@in.ibm.com>
Fri, 25 Jan 2019 17:03:38 +0000 (22:33 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Fri, 25 Jan 2019 17:04:52 +0000 (22:34 +0530)
to increase code coverage

Issue-ID: MUSIC-182
Change-Id: I913315c825c9560d48f240dd7ca7c8d4bf36ee37
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
src/test/java/org/onap/music/unittests/jsonobjects/JsonTableTest.java

index e4c800f..2279cf0 100644 (file)
@@ -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());        
+    }
 
 }