InvokeModuleItemWriter implements ItemWriter<Map<String, String>> { public InvokeModuleItemWriter(DatabaseClient databaseClient, String module) { this.module = module; this.databaseClient = databaseClient; invoker = databaseClient.newServerEval(); invoker.modulePath(module); } InvokeModuleItemWriter(DatabaseClient databaseClient, String module);  InvokeModuleItemWriter(DatabaseClient databaseClient, String module, List<Namespace> namespaces); @Override void write(List<? extends Map<String, String>> items); void processResults(EvalResultIterator itr);  }
@Test public void invokeModuleItemWriterTest() throws Exception { Map<String, String> map = new HashMap<String, String>(); List<Map<String, String>> maps = new ArrayList<Map<String, String>>(); maps.add(map); itemWriter.write(maps); clientTestHelper.assertInCollections("hello.xml", "test"); }