In<Ex1> in2 = flow.createIn("in2", new Import(Mode.PRIMARY, "default", LockType.ROW_OR_SKIP));
Out<Ex1> out1 = flow.createOut("out1", new Export("default"));
Out<Ex1> out2 = flow.createOut("out2", new Export("default"));
FlowDescription desc = new DualIdentityFlow<Ex1>(in1, in2, out1, out2);
JobflowInfo info = compile(flow, desc);
assertThat(info, not(nullValue()));
List<ExternalIoCommandProvider> commands = info.getCommandProviders();
ExternalIoCommandProvider provider = BulkLoaderIoProcessor.findRelated(commands);
assertThat(provider, not(nullValue()));
CommandContext context = new CommandContext("home", "id", "");
assertThat(provider.getImportCommand(context).size(), is(1));