TeStereo report
EqualityVerifier
@Test public void testGetNoProxySnapshotArtifactDefaultLayout() throws Exception {
String commonsLangJar="commons-lang/commons-lang/2.1-SNAPSHOT/commons-lang-2.1-SNAPSHOT.jar";
String expectedArtifactContents="dummy-commons-lang-snapshot-artifact";
File artifactFile=new File(repoRootInternal,commonsLangJar);
artifactFile.getParentFile().mkdirs();
FileUtils.writeStringToFile(artifactFile,expectedArtifactContents,Charset.defaultCharset());
WebResponse response=getWebResponse("/repository/internal/" + commonsLangJar);
assertResponseOK(response);
assertEquals("Expected file contents",expectedArtifactContents,response.getContentAsString());
}