@Test
public void testProperConfiguration() throws NoSuchFieldException, IllegalAccessException {

    PolicyEngine testResult = PolicyEngineConfigurator.configure(PolicyEngineTestdata.RULESET_CONFIG);
    assertThat(testResult).isNotNull();
    Collection<RuleExecutor> createdExecutor = extractExecutor(testResult);
    assertThat(createdExecutor.size()).isEqualTo(1);
    assertThat(identifyExecutors(createdExecutor, SingleArtifactExecutor.class.getName())).isTrue();
    assertThat(identifyExecutors(createdExecutor, CompareArtifactExecutor.class.getName())).isFalse();
    Collection<Rule> createdRules = extractRules(createdExecutor);
    assertThat(createdRules.size()).isEqualTo(2);
    createdRules.forEach(rule  -> assertThat(rule).isInstanceOf(SingleArtifactRule.class));
}