Map<String, XQueryParameter> params =
TestUtils.getPropertyValue(transformer, "executor.xQueryParameterMap",Map.class);
Assert.assertEquals(2, params.size());
Assert.assertTrue(params.containsKey("name"));
Assert.assertTrue(params.containsKey("class"));
XQueryParameter param = params.get("name");
Assert.assertEquals("name", param.getParameterName());
Assert.assertEquals("headers['name']",
TestUtils.getPropertyValue(param, "messageProcessor.expression.expression",String.class));
destroy();
}