public List<SupportedAnalytics> supportedDashboardAnalytics() {
        return this.supportedAnalytics.stream().filter(s -> DASHBOARD_TYPE.equalsIgnoreCase(s.getType())).collect(Collectors.toList());
    }
@Test
    public void shouldListSupportedAnalyticsForDashboard() {
        Capabilities capabilities = new Capabilities(List.of(new SupportedAnalytics("dashboard", "id1", "title1" ),
                new SupportedAnalytics("DashBoard", "id2", "title2" )));

        assertThat(capabilities.supportedDashboardAnalytics(), is(List.of(new SupportedAnalytics("dashboard", "id1", "title1" ),
                new SupportedAnalytics("DashBoard", "id2", "title2" ))));
        assertTrue(new Capabilities(Collections.emptyList()).supportedDashboardAnalytics().isEmpty());
    }