conf.put(JdbcProcess.OPERATION.key(), JdbcProcess.OperationKind.INSERT_AFTER_TRUNCATE.value());
ProcessScript<Pair> process = process(dummy(), new DriverScript("jdbc", conf));
GateScript script = script(process);
JdbcResourceMirror resource = new JdbcResourceMirror(profile(), new ParameterList());
try {
assertThat(RuntimeContext.get().canExecute(resource), is(true));
resource.prepare(script);
DrainDriver<Pair> drain = resource.createDrain(process);
try {