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", TestGroupForwardSender.class.getName());
network.addVerticle("forwarder", TestGroupForwardForwarder.class.getName());
network.addVerticle("receiver", TestGroupForwardReceiver.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());