@Test
public void typical_file() throws Exception
{
URL url = getClass().getResource("ResourceDigestGeneratorImplTest.class");
ResourceDigestGenerator g = new ResourceDigestGeneratorImpl(Arrays.asList("class"));
String digest = g.generateDigest(url);
assertTrue(digest.length() > 0);
String checksum2 = g.generateDigest(url);
assertEquals(checksum2, digest);
}