@Test
public void testReadFromInputSource() throws IOException {

  File file = TestFileUtils.getTransferredTestInputFile("tmxml", "in", "empty-topic.xml");
  TopicMapIF tm = new TMXMLReader(new InputSource(new FileReader(file)), new URILocator(file)).read();
  Assert.assertNotNull(tm);
  Assert.assertEquals(2, tm.getTopics().size());
}