to increase code coverage
Issue-ID: APPC-1086
Change-Id: I3406fedf206902eba8374dbc47852bc28bfdeccf
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
* ================================================================================
* Copyright (C) 2018 Nokia Solutions and Networks
* =============================================================================
* ================================================================================
* Copyright (C) 2018 Nokia Solutions and Networks
* =============================================================================
+ * Modifications Copyright (C) 2019 IBM.
+ * =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
inputBody.setCommonHeader(buildCommonHeader());
assertTrue(inputBody.isValid());
}
inputBody.setCommonHeader(buildCommonHeader());
assertTrue(inputBody.isValid());
}
+
+ @Test
+ public void testPayLoadAsString()
+ {
+ inputBody.setPayloadAsString("payload");
+ assertEquals("payload", inputBody.getPayload());
+ }