public String getRestfulArtifactUrl(JobIdentifier jobIdentifier, String filePath) {
        return format("/files/%s", jobIdentifier.artifactLocator(filePath));
    }
@Test
    public void shouldReturnProperDownloadUrl() {
        String downloadUrl1 = urlService.getRestfulArtifactUrl(jobIdentifier, "file");
        String downloadUrl2 = urlService.getRestfulArtifactUrl(jobIdentifier, "/file");
        assertThat(downloadUrl1, is("/files/pipelineName/LATEST/stageName/LATEST/buildName/file"));
        assertThat(downloadUrl1, is(downloadUrl2));
    }