@Test
public void testSourceLocatorForId() throws IOException {

  TopicMapIF tm = read("tmreify.ltm");
  LocatorIF base = tm.getStore().getBaseAddress();
  
  LocatorIF tmtopic = base.resolveAbsolute("#tm-topic");
  LocatorIF example = base.resolveAbsolute("#example");
  Assert.assertNotNull("Can't find topic with ID 'tm-topic'",
                tm.getObjectByItemIdentifier(tmtopic));
  Assert.assertNotNull("Can't find topic map with ID 'example'",
                tm.getObjectByItemIdentifier(example));
  Assert.assertNotNull("Can't find topic with subject indicator '#example'",
                tm.getTopicBySubjectIdentifier(example));
}