aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/utils/EncryptionToolTest.java2
-rw-r--r--appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/validator/TestDbResponse.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/utils/EncryptionToolTest.java b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/utils/EncryptionToolTest.java
index 32ccc1321..df2b3c0ee 100644
--- a/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/utils/EncryptionToolTest.java
+++ b/appc-config/appc-flow-controller/provider/src/test/java/org/onap/appc/flow/controller/utils/EncryptionToolTest.java
@@ -70,6 +70,8 @@ public class EncryptionToolTest {
@Test
public final void testIsEncrytpedWithNull() {
+
String encrypted = EncryptionTool.getInstance().encrypt(null);
+ assertNull(encrypted);
}
}
diff --git a/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/validator/TestDbResponse.java b/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/validator/TestDbResponse.java
index fe59637a6..006bf6d33 100644
--- a/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/validator/TestDbResponse.java
+++ b/appc-inbound/appc-design-services/provider/src/test/java/org/onap/appc/design/validator/TestDbResponse.java
@@ -26,6 +26,7 @@ package org.onap.appc.design.validator;
import org.junit.Test;
import org.onap.appc.design.dbervices.DbResponseProcessor;
+import static org.junit.Assert.assertNotNull;
public class TestDbResponse {
@@ -45,5 +46,6 @@ public class TestDbResponse {
dbResponse.parseResponse("Test", "getAppcTimestampUTC");
dbResponse.parseResponse("Test", "retrieveVnfPermissions");
dbResponse.parseResponse("Test", "saveVnfPermissions");
+ assertNotNull(dbResponse);
}
}