@Test
public void zapStringParameter() throws IOException, SAXException {

    Map<String, Object> dynamicParams = new HashMap<String, Object>();
    dynamicParams.put("language", "English");
    Object[] params = new Object[] { "xquery/string-q2.xq", dynamicParams };
    String zapResult1 = transformer.zap(source("xquery/string.xml"), params);
    assertTrue(XMLUnit.compareXML(result("xquery/string-q2.xml"), zapResult1).similar());
    dynamicParams.put("language", "German");
    String zapResult2 = transformer.zap(source("xquery/string.xml"), params);
    assertFalse(XMLUnit.compareXML(zapResult1, zapResult2).similar());
}