* 補助インポーターが昇格する。
* @throws Exception 例外が発生した場合
*/
@Test
public void upgrade_secondary() throws Exception {
FlowDescriptionDriver flow = new FlowDescriptionDriver();
In<Ex1> in1 = flow.createIn("in1", new Import(Mode.PRIMARY, "a", LockType.ROW));
In<Ex1> in2 = flow.createIn("in2", new Import(Mode.SECONDARY, "a", LockType.UNUSED));
Out<Ex1> out1 = flow.createOut("out1", new Export("a"));
Out<Ex1> out2 = flow.createOut("out2", new Export("a"));
FlowDescription desc = new DualIdentityFlow<Ex1>(in1, in2, out1, out2);
JobflowInfo info = compile(flow, desc);
assertThat(info, not(nullValue()));
List<ExternalIoCommandProvider> commands = info.getCommandProviders();