public void createExporterProcessScript() throws Exception {
File file = folder.newFile("file");
DriverScript driver = new DriverScript(
"file",
Collections.singletonMap(FileProcess.FILE.key(), file.getAbsolutePath()));
WindGateExporterDescription description = new MockExporterDescription(String.class, "dummy", driver);
ProcessScript<String> script = WindGateTestHelper.createProcessScript(String.class, description);
assertThat(script.getDataClass(), equalTo(String.class));
assertThat(script.getDrainScript().getResourceName(), is("file"));
assertThat(script.getDrainScript().getConfiguration(), is(driver.getConfiguration()));