@Override
    protected boolean hasPluginInfo() {
        return metadataStore().getPluginInfo(getPluginId()) != null;
    }
@Test
    public void shouldReturnTrueIfPluginInfoIsDefined() {
        final ArtifactPluginInfo pluginInfo = new ArtifactPluginInfo(pluginDescriptor("plugin_id"), null, null, null, null, null);
        store.setPluginInfo(pluginInfo);

        final ArtifactStore artifactStore = new ArtifactStore("id", "plugin_id");

        assertTrue(artifactStore.hasPluginInfo());
    }