public void dispatch(EvaluatedRule evaluatedRule) {
        for (ArchUnitExtension extension : extensionLoader.getAll()) {
            dispatch(evaluatedRule, extension);
        }
    }
@Test
    public void only_dispatches_to_enabled_extensions() {
        TestExtension extensionOne = newExtensionWithEnabled("one", false);
        TestExtension extensionTwo = newExtensionWithEnabled("two", true);

        when(extensionLoader.getAll()).thenReturn(ImmutableSet.of(extensionOne, extensionTwo));

        logTestRule.watch(ArchUnitExtensions.class, Level.DEBUG);

        extensions.dispatch(evaluatedRule);

        assertThat(extensionOne.wasNeverCalled()).as("Extension 'one' was never called").isTrue();
        assertThat(extensionTwo.wasNeverCalled()).as("Extension 'two' was never called").isFalse();
        logTestRule.assertLogMessage(Level.DEBUG,
                "Extension 'one' is disabled, skipping... (to enable this extension, configure extension.one.enabled=true)");
    }