public static PackageMetadataStore getInstance() {
        return packageMetadataStore;
    }
@Test
    public void shouldBeAbleToCheckIfPluginExists() throws Exception {
        PackageMetadataStore metadataStore = PackageMetadataStore.getInstance();

        PackageConfigurations packageConfigurations = new PackageConfigurations();
        metadataStore.addMetadataFor("plugin-id", packageConfigurations);

        assertThat(metadataStore.hasPlugin("plugin-id"), is(true));
        assertThat(metadataStore.hasPlugin("some-plugin-which-does-not-exist"), is(false));
    }