void () { final Artifact artifact = addArtifact("art1"); final ArtifactPointer pointer = getPointerManager().createPointer("art1"); assertSame(artifact, pointer.getArtifact()); assertEquals("art1", pointer.getArtifactName()); final Artifact newArtifact = rename(artifact, "art2"); assertSame(newArtifact, pointer.getArtifact()); assertEquals("art2", pointer.getArtifactName()); assertSame(pointer, getPointerManager().createPointer("art2")); }