@Override
    public CaseInsensitiveString getName() {
        return super.getName() == null ? pipelineName : super.getName();
    }
@Test
    void shouldUsePipelineNameAsMaterialNameIfItIsNotSet() throws Exception {
        assertThat(new DependencyMaterial(new CaseInsensitiveString("pipeline1"), new CaseInsensitiveString("stage1")).getName()).isEqualTo(new CaseInsensitiveString("pipeline1"));
    }