final Vertigo vertigo = new Vertigo(this);
vertigo.deployCluster(new Handler<AsyncResult<Cluster>>() {
@Override
public void handle(AsyncResult<Cluster> result) {
assertTrue(result.succeeded());
NetworkConfig network = vertigo.createNetwork();
network.addVerticle("sender", TestNestedGroupForwardSender.class.getName());
network.addVerticle("forwarder", TestNestedGroupForwardForwarder.class.getName());
network.addVerticle("receiver", TestNestedGroupForwardReceiver.class.getName());
network.createConnection("sender", "out", "forwarder", "in").roundSelect();
network.createConnection("forwarder", "out", "receiver", "in").roundSelect();
result.result().deployNetwork(network, new Handler<AsyncResult<ActiveNetwork>>() {
@Override
public void handle(AsyncResult<ActiveNetwork> result) {
if (result.failed()) {
assertTrue(result.cause().getMessage(), result.succeeded());