Vertigo vertigo = new Vertigo(this);
vertigo.deployCluster("test", new Handler<AsyncResult<Cluster>>() {
@Override
public void handle(AsyncResult<Cluster> result) {
assertTrue(result.succeeded());
final Cluster cluster = new DefaultCluster("test", vertx, container);
final WatchableAsyncMap<String, String> data = new WrappedWatchableAsyncMap<String, String>(cluster.<String, String>getMap("test-watch-create"), vertx);
data.watch("foo", new Handler<MapEvent<String, String>>() {
@Override
public void handle(MapEvent<String, String> event) {
if (event.type().equals(MapEvent.Type.CREATE)) {
assertEquals("foo", event.key());