Message message = new Message();
message.setProperty("to", "3002175604");
message.setProperty("from", "3542");
message.setProperty("text", "test · script @áÁ");
HttpConnector connector = new HttpConnector(configuration);
connector.process(message);
Assert.assertEquals(mockHandler.getReceivedMethod(), "POST");
mockHandler.validateExpectedProperties("to=3002175604&from=3542&text=test · script @áÁ");
Assert.assertTrue(message.getProperty("responseCode", Integer.class) == HttpStatus.SC_OK);
}