summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/impl/DmaapOutgoingMessageTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/impl/DmaapOutgoingMessageTest.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/impl/DmaapOutgoingMessageTest.java
index 86cf71e5e..0f0fd1b04 100644
--- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/impl/DmaapOutgoingMessageTest.java
+++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/test/java/org/onap/appc/requesthandler/impl/DmaapOutgoingMessageTest.java
@@ -30,10 +30,12 @@ import org.junit.Test;
public class DmaapOutgoingMessageTest {
private DmaapOutgoingMessage dmaapOutgoingMessage;
+ private DmaapOutgoingMessage.Body body;
@Before
public void setUp() {
dmaapOutgoingMessage = new DmaapOutgoingMessage();
+ body = new DmaapOutgoingMessage.Body();
}
@Test
@@ -56,5 +58,11 @@ public class DmaapOutgoingMessageTest {
String expected = "DmaapOutgoingMessage{cambriaPartition='CambriaPartition', rpcName='rpcName', body=null}";
assertEquals(expected, dmaapOutgoingMessage.toString());
}
+
+ @Test
+ public void testOutput() {
+ body.setOutput("Output");
+ assertEquals("Output", body.getOutput());
+ }
}