@Test
public void testMapperAndAdditionalQuery() throws Exception {
MockRequestHandler mockHandler = new MockRequestHandler(HttpStatus.SC_OK);
testServer.register("/", mockHandler);
HttpConfiguration configuration = new HttpConfiguration();
configuration.setUrl("http://" + getHost() + ":" + getPort() + "/");
Map<String,String> additionalParams = new HashMap<String,String>();
additionalParams.put("account", "german");
additionalParams.put("password", "escobar");
configuration.setAdditionalParams(additionalParams);
Map<String,String> mapper = new HashMap<String,String>();
mapper.put("to", "to1");
mapper.put("from", "from1");
mapper.put("text", "text1");
configuration.setMapper(mapper);
Message message = new Message();
message.setProperty("to", "3002175604");
message.setProperty("from", "3542");
message.setProperty("text", "test");