Fix all bugs reported by Sonar in policy/engine
[policy/engine.git] / ONAP-PDP-REST / src / test / java / org / onap / policy / pdp / rest / api / test / getDictionaryTest.java
index e18f8bb..38dafee 100644 (file)
@@ -41,7 +41,7 @@ public class getDictionaryTest {
                dp.setDictionary("test");
                GetDictionaryService gds = new GetDictionaryService(dp, null);
                String result = (String) formatDictionary.invoke(gds, input);
-               assertNull(result);
+               assertNotNull(result);
                //
                dp.setDictionary("OnapName");
                gds = new GetDictionaryService(dp, null);