MessageContextMethodArgumentResolver implements MethodArgumentResolver { @Override public MessageContext resolveArgument(MessageContext messageContext, MethodParameter parameter) throws Exception { return messageContext; }  @Override boolean supportsParameter(MethodParameter parameter); @Override MessageContext resolveArgument(MessageContext messageContext, MethodParameter parameter);  }
@Test public void resolveArgument() throws Exception { MessageContext messageContext = new DefaultMessageContext(new MockWebServiceMessageFactory()); MessageContext result = resolver.resolveArgument(messageContext, supported); assertSame("Invalid message context returned", messageContext, result); }