Boolean b = (Boolean) result;
assertTrue("Invalid boolean value", b);
}
@Test
public void resolveDouble() throws Exception {
MockWebServiceMessage request = new MockWebServiceMessage(CONTENTS);
MessageContext messageContext = new DefaultMessageContext(request, new MockWebServiceMessageFactory());
Object result = resolver.resolveArgument(messageContext, doubleParameter);
assertTrue("resolver does not return double", result instanceof Double);