public String destinationURL(File rootPath, File file) {
        return destinationURL(rootPath, file, getSrc(), getDest());
    }
@Test
    public void shouldProvideAppendFilePathToDest() {
        ArtifactPlan artifactPlan = new ArtifactPlan(ArtifactPlanType.file, "test/**/*/a.log", "logs");
        assertThat(artifactPlan.destinationURL(new File("pipelines/pipelineA"),
            new File("pipelines/pipelineA/test/a/b/a.log"))).isEqualTo("logs/a/b");
    }