public String getConfigForDisplay() {
        String pluginId = getPluginId();
        SCMMetadataStore metadataStore = SCMMetadataStore.getInstance();
        List<ConfigurationProperty> propertiesToBeUsedForDisplay = ConfigurationDisplayUtil.getConfigurationPropertiesToBeUsedForDisplay(metadataStore, pluginId, configuration);

        String prefix = metadataStore.hasPlugin(pluginId) ? "" : "WARNING! Plugin missing. ";
        return prefix + configuration.forDisplay(propertiesToBeUsedForDisplay);
    }
@Test
    void shouldNotDisplayEmptyValuesInGetConfigForDisplay() {
        SCMMetadataStore.getInstance().addMetadataFor("plugin-id", new SCMConfigurations(), null);

        Configuration configuration = new Configuration(create("rk1", false, ""), create("rk2", false, "some-non-empty-value"), create("rk3", false, null));
        SCM scm = SCMMother.create("scm", "scm-name", "plugin-id", "1.0", configuration);

        assertThat(scm.getConfigForDisplay()).isEqualTo("[rk2=some-non-empty-value]");
    }