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