@Test
public void testHessianDecoder() throws Exception {
final Deserializer decoder = CodecBuilder.buildDeserializer(Codec_Type.HESSIAN1);
final Serializer encoder = CodecBuilder.buildSerializer(Codec_Type.HESSIAN1);
final byte buf[] = encoder.encodeObject(this.msg);
final Message entity1 = (Message) decoder.decodeObject(buf);
Assert.assertEquals(this.msg, entity1);
}
}