vertigo.deployCluster("test", new Handler<AsyncResult<Cluster>>() {
@Override
public void handle(AsyncResult<Cluster> result) {
assertTrue(result.succeeded());
final Cluster cluster = result.result();
cluster.deployVerticle(TestVerticle1.class.getName(), new JsonObject().putString("foo", "bar"), 1, new Handler<AsyncResult<String>>() {
@Override
public void handle(AsyncResult<String> result) {
assertTrue(result.succeeded());
assertNotNull(result.result());
cluster.undeployVerticle(result.result(), new Handler<AsyncResult<Void>>() {