@Test (expected = ConfigurationProcessingException.class)
public void checkConfigurationProcessingExceptionOnWrongConfig()
        throws Exception {

    ISectionStrategy strategy = new OnFeatureLoadingSectionProcessingStrategy();
    IObject config = new DSObject("{\"onFeatureLoading\": [\n" +
            "    {\n" +
            "      \"chain\": \"unknownChain\",\n" +
            "      \"messages\": [\n" +
            "        {\n" +
            "          \"key\": \"value\"\n" +
            "        }\n" +
            "      ]\n" +
            "    }]}");
    strategy.onLoadConfig(config);
    fail();
}