DefaultMessageContext extends AbstractMessageContext { @Override public WebServiceMessage getRequest() { return request; } DefaultMessageContext(WebServiceMessageFactory messageFactory);  DefaultMessageContext(WebServiceMessage request, WebServiceMessageFactory messageFactory); @Override WebServiceMessage getRequest(); @Override boolean hasResponse(); @Override WebServiceMessage getResponse(); @Override void setResponse(WebServiceMessage response); @Override void clearResponse(); @Override void readResponse(InputStream inputStream); WebServiceMessageFactory getMessageFactory();  }
@Test public void testRequest() throws Exception { Assert.assertEquals("Invalid request returned", request, context.getRequest()); }