verticle.setGroup("test");
verticle.setWorker(true);
verticle.setMultiThreaded(true);
NetworkContext context = ContextBuilder.buildContext(network, "vertigo");
assertEquals("vertigo.test", context.address());
VerticleContext verticleContext = context.component("feeder");
assertEquals("feeder", verticleContext.name());
assertEquals("vertigo.test.feeder", verticleContext.address());
assertEquals("feeder.py", verticleContext.main());
assertTrue(verticleContext.isVerticle());
assertFalse(verticleContext.isModule());
assertEquals("bar", verticleContext.config().getString("foo"));
assertEquals(2, verticleContext.numInstances());
assertEquals(2, verticleContext.instances().size());
assertTrue(verticleContext.isWorker());
assertTrue(verticleContext.isMultiThreaded());
assertEquals("test", verticleContext.group());
assertNotNull(verticleContext.network());
}