@Test
public void testSubjectIdentifiers() {

  LocatorIF locA = makeLocator("A");
  LocatorIF locB = makeLocator("B");
  TopicIF topicA = getTopic("A");
  TopicIF topicB = getTopic("B");
  SubjectIdentityDecider decider = new SubjectIdentityDecider(locA);
  Assert.assertTrue("Decider did not recognize topic",
             decider.ok(topicA));
             
  Assert.assertTrue("Decider ok-d topic with wrong identifier",
             !decider.ok(topicB));
}