@Test
public void simpleMockedHttpPostAppendParamsToBody() throws Throwable {

	HttpSender sender = getSender(false); //Cannot add headers (aka parameters) for this test!
	sender.setUrl("http://127.0.0.1/something&dummy=true");
	Message input = new Message("hallo");
	IPipeLineSession pls = new PipeLineSessionBase(session);
	sender.setMethodType("post"); //should handle both upper and lowercase methodtypes :)
	Parameter param1 = new Parameter();
	param1.setName("key");
	param1.setValue("value");
	sender.addParameter(param1);
	Parameter param2 = new Parameter();
	param2.setName("otherKey");
	param2.setValue("otherValue");
	sender.addParameter(param2);
	sender.configure();
	sender.open();
	String result = sender.sendMessage(input, pls).asString();
	assertEquals(getFile("simpleMockedHttpPostAppendParamsToBody.txt"), result.trim());
}