### Question:
GuiceVerticleFactory implements VerticleFactory { @Override public Verticle createVerticle(String verticleName, ClassLoader classLoader) throws Exception { verticleName = VerticleFactory.removePrefix(verticleName); @SuppressWarnings("unchecked") Class<Verticle> loader = (Class<Verticle>) classLoader.loadClass(GuiceVerticleLoader.class.getName()); Constructor<Verticle> ctor = loader.getConstructor(String.class, ClassLoader.class, Injector.class); if (ctor == null) { throw new IllegalStateException("Could not find GuiceVerticleLoader constructor"); } return ctor.newInstance(verticleName, classLoader, getInjector()); }  Injector getInjector(); GuiceVerticleFactory setInjector(Injector injector); @Override String prefix(); @Override Verticle createVerticle(String verticleName, ClassLoader classLoader); static final String PREFIX; }### Answer:
@Test public void testCreateVerticle() throws Exception { String identifier = GuiceVerticleFactory.PREFIX + ":" + TestGuiceVerticle.class.getName(); Verticle verticle = factory.createVerticle(identifier, this.getClass().getClassLoader()); assertThat(verticle, instanceOf(GuiceVerticleLoader.class)); GuiceVerticleLoader loader = (GuiceVerticleLoader) verticle; assertEquals(TestGuiceVerticle.class.getName(), loader.getVerticleName()); }