control.replay();
}
@Test
public void testInterceptorRPCLitOutbound() throws Exception {
RPCInInterceptor interceptor = new RPCInInterceptor();
soapMessage.setContent(XMLStreamReader.class, XMLInputFactory.newInstance().createXMLStreamReader(
getTestStream(getClass(), "/rpc-resp.xml")));
soapMessage.put(Message.REQUESTOR_ROLE, Boolean.TRUE);
interceptor.handleMessage(soapMessage);
List<?> parameters = (List<?>) soapMessage.getContent(List.class);
assertEquals(1, parameters.size());
Object obj = parameters.get(0);