@Test
public void testAssociationRoleRemoval() {

  TopicIF type = builder.makeTopic();
  TopicIF role1 = builder.makeTopic();
  TopicIF role2 = builder.makeTopic();
  TopicIF player1 = builder.makeTopic();
  TopicIF player2 = builder.makeTopic();
  
  AssociationIF assoc = builder.makeAssociation(type);
  AssociationRoleIF role = builder.makeAssociationRole(assoc, role1, player1);
  role = builder.makeAssociationRole(assoc, role2, player2);
  role = builder.makeAssociationRole(assoc, role2, player2);
  DuplicateSuppressionUtils.removeDuplicates(topicmap);
  Assert.assertTrue("duplicate association role was not removed",
             assoc.getRoles().size() == 2);
}