summaryrefslogtreecommitdiffstats
path: root/models-pdp/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'models-pdp/src/test')
-rw-r--r--models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpTest.java b/models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpTest.java
index 5a27210fc..ebdf31c2f 100644
--- a/models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpTest.java
+++ b/models-pdp/src/test/java/org/onap/policy/models/pdp/persistence/concepts/JpaPdpTest.java
@@ -149,6 +149,8 @@ public class JpaPdpTest {
testJpaPdp.setKey(savedKey);
assertTrue(testJpaPdp.validate(new PfValidationResult()).isOk());
+ testJpaPdp.setMessage(null);
+ assertTrue(testJpaPdp.validate(new PfValidationResult()).isOk());
testJpaPdp.setMessage("");
assertFalse(testJpaPdp.validate(new PfValidationResult()).isOk());
testJpaPdp.setMessage("Valid Message");