@Test
public void simpleMockedMultipartHttp3() throws Throwable {

	MultipartHttpSender sender = getSender();
	Message input = new Message("<xml>input</xml>");
	try {
		IPipeLineSession pls = new PipeLineSessionBase(session);
		String xmlMultipart = "<parts><part name=\"dummy\" "
				+ "value=\"{json:true}\" size=\"72833\" "
				+ "mimeType=\"application/json\"/></parts>";
		pls.put("multipartXml", xmlMultipart);
		pls.put("part_file", new ByteArrayInputStream("<dummy xml file/>".getBytes()));
		sender.setMultipartXmlSessionKey("multipartXml");
		sender.configure();
		sender.open();
		String result = sender.sendMessage(input, pls).asString();
		assertEquals(getFile("simpleMockedMultipartHttp3.txt"), result.trim());
	} catch (SenderException e) {
		throw e.getCause();
	} finally {
		if (sender != null) {
			sender.close();
		}
	}
}