Merge "Sonar Fixes - CadiAuthFilter.java"
[music.git] / src / test / java / org / onap / music / unittests / jsonobjects / JsonTableTest.java
index e4c800f..4e3b462 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
@@ -75,13 +77,6 @@ public class JsonTableTest {
         assertEquals(table,jt.getTableName());
    }
 
-    @Test
-    public void testGetSortingKey() {
-        String sortKey = "sortkey";
-        jt.setSortingKey(sortKey);
-        assertEquals(sortKey,jt.getSortingKey());
-    }
-
     @Test
     public void testGetClusteringOrder() {
         String clusteringOrder = "clusteringOrder";
@@ -95,5 +90,11 @@ public class JsonTableTest {
         jt.setPrimaryKey(primaryKey);
         assertEquals(primaryKey,jt.getPrimaryKey());        
     }
+    
+    @Test
+    public void testFilteringKey() {
+        jt.setFilteringKey("FilteringKey");
+        assertEquals("FilteringKey",jt.getFilteringKey());        
+    }
 
 }