void () { final Artifact artifact = addArtifact("abc"); final ArtifactPointer pointer = getPointerManager().createPointer(artifact); assertSame(artifact, pointer.getArtifact()); deleteArtifact(artifact); assertNull(pointer.getArtifact()); final Artifact artifact2 = addArtifact("abc"); assertSame(artifact2, pointer.getArtifact()); assertSame(pointer, getPointerManager().createPointer(artifact2)); }