@Test
public void simpleMockedWssMultipartMtomWithParameter() throws Throwable {

	WebServiceSender sender = getSender();
	Message input = new Message("<xml>hello world</xml>");
	try {
		IPipeLineSession pls = new PipeLineSessionBase(session);
		sender.setParamsInUrl(false);
		sender.setInputMessageParam("file");
		sender.setMultipart(true);
		sender.setAllowSelfSignedCertificates(true);
		sender.setVerifyHostname(false);
		sender.setMtomEnabled(true);

		Parameter param = new Parameter();
		param.setName("file");
		param.setValue("<xml>I just sent some text! :)</xml>");
		sender.addParameter(param);

		sender.configure();
		sender.open();

		String result = sender.sendMessage(input, pls).asString();
		assertEquals(getFile("simpleMockedWssMultipartMtom.txt"), result.trim());
	} catch (SenderException e) {
		throw e.getCause();
	}
}