public List<SupportedAnalytics> supportedPipelineAnalytics() {
        return this.supportedAnalytics.stream().filter(s -> PIPELINE_TYPE.equalsIgnoreCase(s.getType())).collect(Collectors.toList());
    }
@Test
    public void shouldListSupportedAnalyticsForPipelines() {
        Capabilities capabilities = new Capabilities(List.of(new SupportedAnalytics("pipeline", "id1", "title1" ),
                new SupportedAnalytics("Pipeline", "id2", "title2" )));

        assertThat(capabilities.supportedPipelineAnalytics(), is(List.of(new SupportedAnalytics("pipeline", "id1", "title1" ),
                new SupportedAnalytics("Pipeline", "id2", "title2" ))));
        assertTrue(new Capabilities(Collections.emptyList()).supportedPipelineAnalytics().isEmpty());
    }