assertNotNull(verticleContext.instances().get(0).component());
}
@Test
public void testUpdateContext() {
NetworkConfig network = new DefaultNetworkConfig("test");
network.addVerticle("sender", "sender.py", 2);
NetworkContext context = ContextBuilder.buildContext(network, "vertigo");
NetworkConfig network2 = new DefaultNetworkConfig("test");
network2.addVerticle("receiver", "receiver.py", 2);
NetworkContext context2 = ContextBuilder.buildContext(network2, "vertigo");
assertNotNull(context2.component("receiver"));
context.notify(context2);
assertNotNull(context.component("receiver"));
}