.setStatusAddress("test.test-1.__status")
.setInput(DefaultInputContext.Builder.newBuilder().build())
.setOutput(DefaultOutputContext.Builder.newBuilder().build()).build()).build()).build();
final InstanceContext instance = context.component("test").instances().iterator().next();
final Cluster cluster = new DefaultCluster("vertigo", vertx, container);
final WatchableAsyncMap<String, String> data = new WrappedWatchableAsyncMap<String, String>(cluster.<String, String>getMap("test"), vertx);
data.put(instance.address(), Contexts.serialize(instance).encode(), new Handler<AsyncResult<String>>() {
@Override
public void handle(AsyncResult<String> result) {
if (result.failed()) {
fail(result.cause().getMessage());
} else {
final ComponentCoordinator coordinator = new DefaultComponentCoordinator(instance, vertx, new DefaultCluster("vertigo", vertx, container));
coordinator.start(new Handler<AsyncResult<Void>>() {
@Override
public void handle(AsyncResult<Void> result) {
if (result.failed()) {
fail(result.cause().getMessage());