summaryrefslogtreecommitdiffstats
path: root/models-interactions/model-actors/actorServiceProvider/src/test
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2020-03-01 14:38:22 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-01 14:38:22 +0000
commitfe0673988d5707bbb6553802946f3ca5b31dca44 (patch)
tree38a5da6a8535831d49e78e2880e608f2d810ceff /models-interactions/model-actors/actorServiceProvider/src/test
parent394929613dd177b9715553faa3aa4d35eacf57d1 (diff)
parenta5959af7acc59bca473a82f453f7efe60ee0dd34 (diff)
Merge "Sequence throws NPE if task outcome is null"
Diffstat (limited to 'models-interactions/model-actors/actorServiceProvider/src/test')
-rw-r--r--models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java
index 229e5a32a..b73a3a068 100644
--- a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java
+++ b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java
@@ -360,6 +360,8 @@ public class OperationPartialTest {
@Test
public void testIsSuccess() {
+ assertFalse(oper.isSuccess(null));
+
OperationOutcome outcome = new OperationOutcome();
outcome.setResult(PolicyResult.SUCCESS);