List<ImportHandlerConfig> ihcs = new LinkedList<ImportHandlerConfig>();
aHandler = new TestImportHandler("a");
bHandler = new TestImportHandler("b");
ihcs.add(new ImportHandlerConfig("a", "as", aHandler));
ihcs.add(new ImportHandlerConfig("b", "bs", bHandler));
((ImportManagerImpl) importManager).setImportHandlerConfigs(ihcs);
String xml = "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"
+ "<import><as><a atr=\"1\"><aa>x</aa>\n</a></as><bs><b atr=\"2\"><bb/></b></bs></import>";