MarshallingPayloadMethodProcessor extends AbstractPayloadMethodProcessor { public void setMarshaller(Marshaller marshaller) { this.marshaller = marshaller; } MarshallingPayloadMethodProcessor();  MarshallingPayloadMethodProcessor(Marshaller marshaller);  MarshallingPayloadMethodProcessor(Marshaller marshaller, Unmarshaller unmarshaller); Marshaller getMarshaller(); void setMarshaller(Marshaller marshaller); Unmarshaller getUnmarshaller(); void setUnmarshaller(Unmarshaller unmarshaller); @Override Object resolveArgument(MessageContext messageContext, MethodParameter parameter); @Override void handleReturnValue(MessageContext messageContext, MethodParameter returnType, Object returnValue);  }
@Test public void supportsParameterNoUnmarshallerSupported() { processor = new MarshallingPayloadMethodProcessor(); processor.setMarshaller(marshaller); replay(marshaller, unmarshaller); assertFalse("processor supports parameter with no unmarshaller set", processor.supportsParameter(supportedParameter)); verify(marshaller, unmarshaller); }