GuiceVerticleFactory implements VerticleFactory { @Override public String prefix() { return PREFIX; } GuiceVerticleFactory(Injector injector); @Override String prefix(); @Override Verticle createVerticle(String verticleName, ClassLoader classLoader); static final String PREFIX; }
@Test public void testPrefix() { assertThat(factory.prefix()).isEqualTo("java-guice"); }