diff options
Diffstat (limited to 'feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/StartStateTest.java')
-rw-r--r-- | feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/StartStateTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/StartStateTest.java b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/StartStateTest.java index ee4c1add..01f49b55 100644 --- a/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/StartStateTest.java +++ b/feature-pooling-dmaap/src/test/java/org/onap/policy/drools/pooling/state/StartStateTest.java @@ -137,7 +137,11 @@ public class StartStateTest extends BasicStateTester { @Test public void testProcessForward() { - assertNull(state.process(new Forward())); + Forward msg = new Forward(); + msg.setChannel(MY_HOST); + assertNull(state.process(msg)); + + verify(mgr).handle(msg); } @Test |