Improve test coverage

Adding more tests to improve test coverage.

Issue-ID: SDC-3129
Signed-off-by: xuegao <xg353y@intl.att.com>
Change-Id: I23a717bfb6a0004e58ff3ca37d6dd877a956931e
Signed-off-by: xuegao <xg353y@intl.att.com>
diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java b/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java
index ce06572..e054236 100644
--- a/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java
+++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java
@@ -17,7 +17,11 @@
 package org.onap.config.type;
 
 import org.onap.config.Constants;
+import lombok.Getter;
+import lombok.ToString;
 
+@ToString
+@Getter
 public class ConfigurationQuery {
 
     private String tenant = Constants.DEFAULT_TENANT;
@@ -75,37 +79,4 @@
     public String getNamespace() {
         return namespace.toUpperCase();
     }
-
-    public String getKey() {
-        return key;
-    }
-
-    public boolean isFallback() {
-        return fallback;
-    }
-
-    public boolean isNodeSpecific() {
-        return nodeSpecific;
-    }
-
-    public boolean isExternalLookup() {
-        return externalLookup;
-    }
-
-    public boolean isLatest() {
-        return latest;
-    }
-
-    @Override
-    public String toString() {
-        return "ConfigurationQuery{" +
-                "tenant='" + tenant + '\'' +
-                ", namespace='" + namespace + '\'' +
-                ", key='" + key + '\'' +
-                ", fallback=" + fallback +
-                ", externalLookup=" + externalLookup +
-                ", latest=" + latest +
-                ", nodeSpecific=" + nodeSpecific +
-                '}';
-    }
 }