}
@Test
public void testActiveRemoveComponent() {
// Deploy a randomly named cluster.
final Vertigo vertigo = new Vertigo(this);
vertigo.deployCluster(new Handler<AsyncResult<Cluster>>() {
@Override
public void handle(AsyncResult<Cluster> result) {
assertTrue(result.succeeded());
// Create a randomly named network. This network will be a complete
// network that we'll later alter once it's deployed.
NetworkConfig network = vertigo.createNetwork();
network.addVerticle("sender", TestSimpleSender.class.getName());
network.addVerticle("receiver", TestSimpleReceiver.class.getName());
network.createConnection("sender", "out", "receiver", "in");
result.result().deployNetwork(network, new Handler<AsyncResult<ActiveNetwork>>() {
@Override