public void consumerWithDependencies(@Observes @VertxConsumer(TEST_DEP) VertxEvent event, CoolService coolService) { assertEquals(TEST_DEP, event.getAddress()); assertNotNull(event.getReplyAddress()); assertNotNull(coolService); assertNotNull(coolService.getCacheService()); assertNotNull(coolService.getVertx().eventBus()); assertNotNull(coolService.getContext().deploymentID()); event.setReply(coolService.getId() + "_" + coolService.getCacheService().getId()); assertTrue(event.isReplied()); }