@Test
@Category(SECURITY.class)
public void downloadArtifactFromPublicGroup()
throws Exception
{
Gav gav =
new Gav(this.getTestId(), "release-jar", "1", null, "jar", 0, new Date().getTime(), "Release Jar",
false, null, false, null);
File artifact = this.downloadArtifactFromGroup("public", gav, "./target/downloaded-jars");
assertTrue(artifact.exists());
File originalFile =
this.getTestResourceAsFile("projects/" + gav.getArtifactId() + "/" + gav.getArtifactId() + "."
+ gav.getExtension());
Assert.assertTrue(FileTestingUtils.compareFileSHA1s(originalFile, artifact));
}