@Test
public void marshalToDocument() throws Exception {

    RpcReplyV11 rpcReplyV11 = new RpcReplyV11();
    rpcReplyV11.setMessageId(MESSAGE_ID);
    Document document = JaxbUtils.marshalToDocument(rpcReplyV11);
    assertEquals("rpc-reply", document.getFirstChild().getLocalName());
    RpcReplyV11 rpcReplyUnmarshal = JaxbUtils.unmarshal(document, RpcReplyV11.class);
    assertEquals(rpcReplyV11.getMessageId(), rpcReplyUnmarshal.getMessageId());
}