@Test
public void testSetOperations() throws Throwable {

    OperationJoin operationJoin = OperationJoin.create();
    Operation op1 = createServiceOperation(this.services.get(0));
    Operation op2 = createServiceOperation(this.services.get(1));
    Operation op3 = createServiceOperation(this.services.get(2));
    host.testStart(1);
    operationJoin
        .setOperations(op1, op2, op3)
        .setCompletion((ops, exs) -> {
            if (exs != null) {
                host.failIteration(exs.values().iterator().next());
            } else {
                host.completeIteration();
            }
        }).sendWith(host);
    host.testWait();
}