@Test
public void testBug2116() throws IOException, SAXException {

  MockWriter mock = new MockWriter();
  TMXMLWriter writer = new TMXMLWriter(mock, "utf-8");
  writer.write(topicmap);
  // if bug 2116 occurs we'll get an NPE on the previous line and never
  // get here.
}