String type = "bob";
String sha1 = "pop";
String md5 = "shmop";
Properties properties = new Properties();
Artifact artifact = new ArtifactBuilder(name).type(type).sha1(sha1).md5(md5).properties(properties).
build();
assertEquals(artifact.getName(), name, "Unexpected artifact ID.");
assertEquals(artifact.getType(), type, "Unexpected artifact type.");
assertEquals(artifact.getSha1(), sha1, "Unexpected artifact SHA1 checksum.");
assertEquals(artifact.getMd5(), md5, "Unexpected artifact SHA1 checksum.");
assertEquals(artifact.getProperties(), properties, "Unexpected artifact properties.");
assertTrue(artifact.getProperties().isEmpty(), "Artifact properties list should not have been populated.");
}