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