use of com.adaptris.interlok.types.InterlokMessage in project interlok by adaptris.
the class ByteArrayFromPayloadTest method testWrapInterlokMessage.
@Test
public void testWrapInterlokMessage() throws Exception {
InterlokMessage msg = new MyInterlokMessage();
byte[] wrapped = new ByteArrayFromPayload().wrap(msg);
assertTrue(MessageDigest.isEqual(BYTE_ARRAY, wrapped));
}
Aggregations