### Question:
ArtifactBuilder { public Artifact createArtifact(String groupId, String artifactId, Archive archive) { return new DefaultArtifact( groupId, artifactId, archive.getClassifier(), archive.getExtension(), archive.getVersion() ); }  Artifact createArtifact(String groupId, String artifactId, Archive archive); Artifact createArtifact(Archive archive); static final String GROUP_ID; static final String ARTIFACT_ID; }### Answer:
@Test public void shouldCreateArtifactWithDefaults() { verifyArtifact( builder.createArtifact(archive), ArtifactBuilder.GROUP_ID, ArtifactBuilder.ARTIFACT_ID ); }
@Test public void shouldCreateArtifactWithCustom() { verifyArtifact( builder.createArtifact(CUSTOM_GROUP_ID, CUSTOM_ARTIFACT_ID, archive), CUSTOM_GROUP_ID, CUSTOM_ARTIFACT_ID ); }