@Test
public void shouldSetRevisionToArtifactRevision() {

    MockArtifact mockArtifact = new MockArtifact("foo.jar");
    ModuleId id = new ModuleId("organization", "name");
    ArtifactRevisionId artifactId =
            new ArtifactRevisionId(
                    new ArtifactId(id, "name", "type", "ext" + System.currentTimeMillis()),
                    new ModuleRevisionId(id, "revision")
            );
    mockArtifact.setArtifactRevisionId(artifactId);
    List<Modification> mods = getMods(artifacts(mockArtifact));
    assertEquals(artifactId.toString(), mods.get(0).getRevision());
}