summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-data-services/provider/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'appc-config/appc-data-services/provider/src/test')
-rw-r--r--appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java b/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java
index edfc76f93..ee4db30b8 100644
--- a/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java
+++ b/appc-config/appc-data-services/provider/src/test/java/org/openecomp/appc/data/services/db/TestConfigResourceNode.java
@@ -26,6 +26,7 @@ package org.openecomp.appc.data.services.db;
import java.util.HashMap;
import java.util.Map;
+import static org.junit.Assert.assertFalse;
import org.junit.Test;
import org.openecomp.appc.data.services.AppcDataServiceConstant;
import org.openecomp.appc.data.services.node.ConfigResourceNode;
@@ -148,4 +149,13 @@ public class TestConfigResourceNode {
node.saveConfigBlock(inParams, ctx);
}
+ @Test
+ public void testcheckIfCapabilityCheckNeeded () throws Exception {
+ ConfigResourceNode node = new ConfigResourceNode();
+ String findCapability="Start";
+ String capLevel="vnf";
+ boolean result=node.checkIfCapabilityCheckNeeded(capLevel,findCapability);
+ assertFalse(result);
+ }
+
}