@Override
    public boolean contains(PipelineConfig o) {
        for (PipelineConfigs part : this.parts) {
            if (part.contains(o))
                return true;
        }
        return false;
    }
@Test
    public void shouldReturnFalseWhenDoesNotContainPipeline() {
        PipelineConfig pipe1 = PipelineConfigMother.pipelineConfig("pipeline1");
        PipelineConfigs group = new MergePipelineConfigs(
                new BasicPipelineConfigs(pipe1),
                new BasicPipelineConfigs());
        assertThat(group.contains(PipelineConfigMother.pipelineConfig("pipeline2")), is(false));
    }