@Test
public void marshalToString() throws Exception {

    RpcReplyV10 rpcReplyV10 = new RpcReplyV10();
    rpcReplyV10.setMessageId(MESSAGE_ID);
    String result = JaxbUtils.marshalToString(rpcReplyV10);
    assertTrue(result.contains("rpc-reply"));
    assertTrue(result.contains(MESSAGE_ID));
    RpcReplyV10 rpcUnmarshal = JaxbUtils.unmarshal(result, RpcReplyV10.class);
    assertEquals(rpcReplyV10.getMessageId(), rpcUnmarshal.getMessageId());
}