@Override
    protected void appendCriteria(Map<String, Object> parameters) {
        parameters.put("pipelineName", CaseInsensitiveString.str(pipelineName));
        parameters.put("stageName", CaseInsensitiveString.str(stageName));
    }
@Test
    void shouldBeUniqueBasedOnpipelineAndStageName() throws Exception {
        DependencyMaterial material1 = new DependencyMaterial(new CaseInsensitiveString("pipeline1"), new CaseInsensitiveString("stage1"));
        Map<String, Object> map = new HashMap<>();
        material1.appendCriteria(map);
        assertThat(map).containsEntry("pipelineName", "pipeline1");
        assertThat(map).containsEntry("stageName", "stage1");
        assertThat(map.size()).isEqualTo(2);
    }