}
}
@Test
public void testGroupForward() {
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();