@Test
public void testSOAPBodyIsntFullyReadWhenNotUsingBinaryRelayBuilder()
        throws IOException, XMLStreamException {

    SOAPEnvelope envelope = OMXMLBuilderFactory
            .createSOAPModelBuilder(new StringReader(xml)).getSOAPEnvelope();
    msgCtx.setEnvelope(envelope);
    // Build message when using pass through pipe or binary relay builder
    RelayUtils.buildMessage(msgCtx);
    // Ensure that the payload element is accessible
    assertEquals(payloadQName, msgCtx.getEnvelope().getBody().getFirstElement().getQName());
    // Ensure that the body isn't fully build to support the use of deferred building
    assertFalse(msgCtx.getEnvelope().getBody().isComplete());
}