Choice c1 = assertSingleOutput(e1, Choice.class);
When w1 = assertOutput(c1, 0, When.class);
Endpoint e2 = assertSingleOutput(w1, Endpoint.class);
assertEquals("when -> to", "seda:b", e2.getUri());
Otherwise o1 = assertOutput(c1, 1, Otherwise.class);
Endpoint e3 = assertSingleOutput(o1, Endpoint.class);
assertEquals("otherwise -> to", "seda:c", e3.getUri());
Endpoint e4 = assertOutput(c1, 2, Endpoint.class);
assertEquals("choice -> to", "seda:d", e4.getUri());