@Test
public void testGetSha1Url() throws Exception {

  assertThat(Resolver.getSha1Url("http://example.com/foo.pom", "jar"))
      .isEqualTo("http://example.com/foo.jar.sha1");
  assertThat(Resolver.getSha1Url("http://example.com/foo.pom", "aar"))
      .isEqualTo("http://example.com/foo.aar.sha1");
}