@Test
public void requestFileUsesTheCorrectUrl() throws Exception {

    Path targetDirectory = temporaryFolder.newFolder("target").toPath();
    hr.requestFile(mavenCoordinate, targetDirectory, classifierInformation);
    String filename = "artifactId-version" + (classifierInformation.isSource ? "-sources" : "") + ".jar";
    verify(httpHelperMock).downloadFile("http://test.repo/groupId/artifactId/version/" + filename, targetDirectory, filename);
}