### Question:
GuiceVerticleFactory implements VerticleFactory { public GuiceVerticleFactory setInjector(Injector injector) { this.injector = injector; return this; }  Injector getInjector(); GuiceVerticleFactory setInjector(Injector injector); @Override String prefix(); @Override Verticle createVerticle(String verticleName, ClassLoader classLoader); static final String PREFIX; }### Answer:
@Test public void testSetInjector() throws Exception { assertNull(factory.getInjector()); Injector injector = mock(Injector.class); factory.setInjector(injector); assertEquals(injector, factory.getInjector()); }