public void dispatch(EvaluatedRule evaluatedRule) {
        for (ArchUnitExtension extension : extensionLoader.getAll()) {
            dispatch(evaluatedRule, extension);
        }
    }
@Test
    public void evaluated_rules_are_dispatched_to_all_extensions() {
        TestExtension extensionOne = enabled(new TestExtension("one"));
        TestExtension extensionTwo = enabled(new TestExtension("two"));
        when(extensionLoader.getAll()).thenReturn(ImmutableSet.of(extensionOne, extensionTwo));

        extensions.dispatch(evaluatedRule);

        assertThat(extensionOne.getEvaluatedRule()).isEqualTo(evaluatedRule);
        assertThat(extensionTwo.getEvaluatedRule()).isEqualTo(evaluatedRule);
    }