Add unit test for SliStringUtils

*Made quotedOrNull method public
This is done for accessing this in ut
*Added a unit test for the SliStringUtils.quotedOrNull()
This is done for increasing code coverage

Issue-Id: CCSDK-106
Change-Id: I9d74c6645256227b23beded5179fbb28ac3d3c04
Signed-off-by: surya-huawei <a.u.surya@huawei.com>
diff --git a/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtils.java b/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtils.java
index 6048c66..0c43f68 100644
--- a/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtils.java
+++ b/sliPluginUtils/provider/src/main/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtils.java
@@ -100,7 +100,7 @@
 		}
 	}
 
-	private static String quotedOrNULL( String str ) {
+	public static String quotedOrNULL( String str ) {
 		return (str == null) ? "NULL" : '"' + str + '"';
 	}
 
diff --git a/sliPluginUtils/provider/src/test/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtilsTest.java b/sliPluginUtils/provider/src/test/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtilsTest.java
index 72b3264..96c6ae4 100644
--- a/sliPluginUtils/provider/src/test/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtilsTest.java
+++ b/sliPluginUtils/provider/src/test/java/org/onap/ccsdk/sli/core/slipluginutils/SliStringUtilsTest.java
@@ -91,6 +91,12 @@
     }
 
     @Test
+    public final void testQuotedOrNull() throws SvcLogicException {
+        //param.put("nullString",null);
+        assertEquals("NULL",SliStringUtils.quotedOrNULL(null));
+    }
+
+    @Test
     public void equalsIgnoreCaseTrue() throws SvcLogicException {
         String sourceString = "HeLlOwORLD";
         String targetSTring = "HELLOWORLD";