@Override
    public void addConfiguration(String configName, C configuration) {
        if (configName.equals(DEFAULT_CONFIG)) {
            throw new IllegalArgumentException(
                "You cannot use 'default' as a configuration name as it is preserved for default configuration");
        }
        this.configurations.put(configName, configuration);
    }
@Test
    public void shouldNotAllowToOverwriteDefaultConfiguration() {
        TestRegistry testRegistry = new TestRegistry();

        assertThatThrownBy(() -> testRegistry.addConfiguration("default", "test"))
            .isInstanceOf(IllegalArgumentException.class);
    }