@Test
public void testWriterClosing() throws IOException {

  // make sure the writer does not close writer objects passed in to it
  MockWriter mock = new MockWriter();
  TMXMLWriter writer = new TMXMLWriter(mock);
  writer.close();
  Assert.assertFalse("Exporter closes external writer object", mock.isClosed());
}