public boolean supportsDashboardAnalytics() {
        return hasSupportFor(DASHBOARD_TYPE);
    }
@Test
    public void shouldSupportDashboardAnalyticsIfPluginListsDashboardMetricsAsCapability() {
        assertTrue(new Capabilities(List.of(new SupportedAnalytics("dashboard", "id", "title"))).supportsDashboardAnalytics());
        assertTrue(new Capabilities(List.of(new SupportedAnalytics("DashBoard", "id", "title"))).supportsDashboardAnalytics());

        assertFalse(new Capabilities(Collections.emptyList()).supportsDashboardAnalytics());
    }