public void testQueryParamProperties() throws Exception
{
InputStream body = new ByteArrayInputStream(REQUEST.getBytes());
HttpMethod method = createMockHttpMethod(HttpConstants.METHOD_GET, body, "http://localhost" + REQUEST, HEADERS);
MuleMessageFactory factory = createMuleMessageFactory();
MuleMessage message = factory.create(method, encoding, muleContext);
Map<String, Object> queryParams = (Map<String, Object>) message.getInboundProperty(HttpConnector.HTTP_QUERY_PARAMS);
assertNotNull(queryParams);
assertEquals("John", queryParams.get("name"));
assertEquals("John", message.getInboundProperty("name"));
assertEquals("Galt", queryParams.get("lastname"));