@Test
public void testVariantRemoval() {

  TopicIF topic = builder.makeTopic();
  TopicNameIF bn = builder.makeTopicName(topic, "");
  VariantNameIF vn = builder.makeVariantName(bn, "duplicate");
  vn = builder.makeVariantName(bn, "duplicate");
  DuplicateSuppressionUtils.removeDuplicates(bn);
  Assert.assertTrue("duplicate variant names were not removed",
         bn.getVariants().size() == 1);
}