* @throws Exception if failed
*/
@Test
public void createImporterProcessScript() throws Exception {
File file = folder.newFile("file");
DriverScript driver = new DriverScript(
"file",
Collections.singletonMap(FileProcess.FILE.key(), file.getAbsolutePath()));
WindGateImporterDescription description = new MockImporterDescription(String.class, "dummy", driver);
ProcessScript<String> script = WindGateTestHelper.createProcessScript(String.class, description);
assertThat(script.getDataClass(), equalTo(String.class));
assertThat(script.getSourceScript().getResourceName(), is("file"));
assertThat(script.getSourceScript().getConfiguration(), is(driver.getConfiguration()));
}