@Test
public void resolveNamespacesMethod() throws Exception {
MockWebServiceMessage request = new MockWebServiceMessage(
"<root xmlns=\"http://springframework.org/spring-ws\">text</root>");
MessageContext messageContext = new DefaultMessageContext(request, new MockWebServiceMessageFactory());
Object result = resolver.resolveArgument(messageContext, namespaceMethodParameter);
assertTrue("resolver does not return String", result instanceof String);
String s = (String) result;