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

        assertThat(capabilities.supportedAnalyticsDashboardMetrics(), is(List.of("title1", "title2")));
        assertTrue(new Capabilities(Collections.emptyList()).supportedAnalyticsDashboardMetrics().isEmpty());
    }