Fixed Sonar Bug and Code Smell Blockers
[cli.git] / framework / src / test / java / org / onap / cli / fw / conf / OnapCommandConfgTest.java
index ae62063..aa6da88 100644 (file)
 package org.onap.cli.fw.conf;
 
 import org.junit.Test;
+import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
 
 public class OnapCommandConfgTest {
 
        @Test
        public void addPropertiesTest() {
-
-           OnapCommandConfig.getPropertyValue("cli.schema.profile.confs");
+        assertDoesNotThrow(() -> OnapCommandConfig.getPropertyValue("cli.schema.profile.confs"));
        }
 
 }