new Parameters().xml().setThrowExceptionOnMissing(true)
.setFileName("test.xml").setValidating(true)
.setExpressionEngine(engine).setListDelimiterHandler(listHandler)
.setSchemaValidation(true).getParameters();
checkBasicProperties(map);
FileBasedBuilderParametersImpl fbp =
FileBasedBuilderParametersImpl.fromParameters(map);
assertEquals("Wrong file name", "test.xml", fbp.getFileHandler()
.getFileName());
assertEquals("Wrong validation flag", Boolean.TRUE,
map.get("validating"));
assertEquals("Wrong schema flag", Boolean.TRUE,
map.get("schemaValidation"));