    @Test
    public void testSetInjector() throws Exception {


        assertNull(factory.getInjector());

        Injector injector = mock(Injector.class);
        factory.setInjector(injector);

        assertEquals(injector, factory.getInjector());

    }