public void handle(AsyncResult<Cluster> result) {
assertTrue(result.succeeded());
NetworkConfig network = vertigo.createNetwork("test");
network.addVerticle("sender", TestFeederSender.class.getName());
network.addVerticle("receiver", TestFeederReceiver.class.getName(), 4);
network.createConnection("sender", "out", "receiver", "in").setSelector(new RoundRobinSelector());
Cluster cluster = result.result();
cluster.deployNetwork(network, new Handler<AsyncResult<ActiveNetwork>>() {
@Override
public void handle(AsyncResult<ActiveNetwork> result) {
if (result.failed()) {