    @Test
    public void testClassesFromProvidesMethodsWithModuleInjectsAndNoInjectsConstructorAreRegistered() {

        ResourceConfig config = new DefaultResourceConfig();
        ObjectGraph objectGraph = ObjectGraph.create(SomeInjectableProvidesModule.class,
                new SomeOtherInjectableProvidesModule());
        IoCComponentProviderFactory factory = new DaggerComponentProviderFactory(config, objectGraph,
                new Object[]{SomeInjectableProvidesModule.class, new SomeOtherInjectableProvidesModule()});

        assertTrue(config.getClasses().contains(SomeProvidesInjectableResource.class));
        assertTrue(config.getClasses().contains(SomeOtherProvidesInjectableResource.class));
        assertTrue(config.getClasses().contains(SomeProvidesInjectableProvider.class));

        SomeProvidesInjectableResource someResource = (SomeProvidesInjectableResource) factory.
                getComponentProvider(SomeProvidesInjectableResource.class).getInstance();
        SomeOtherProvidesInjectableResource someOtherResource = (SomeOtherProvidesInjectableResource) factory
                .getComponentProvider(SomeOtherProvidesInjectableResource.class).getInstance();
        SomeProvidesInjectableProvider someProvider = (SomeProvidesInjectableProvider) factory
                .getComponentProvider(SomeProvidesInjectableProvider.class).getInstance();

        assertNotNull(someResource);
        assertNotNull(someOtherResource);
        assertNotNull(someProvider);
    }