ImportTable itable = script.getImportTargetTables().get(0);
ExportTable etable = script.getExportTargetTables().get(0);
assertThat(etable.getSources().size(), is(1));
ModelOutput<Ex1> source = tester.openOutput(Ex1.class, itable.getDestination());
Ex1 ex1 = new Ex1();
ex1.setSid(200);
ex1.setValue(1);
source.write(ex1);
ex1.setSid(300);
ex1.setValue(2);
source.write(ex1);
ex1.setSid(100);
ex1.setValue(3);
source.write(ex1);
source.close();
assertThat(tester.runStages(info), is(true));