public void testReadTAF() throws FileNotFoundException, IOException { try (InputStream stream = this.getClass().getResourceAsStream("/test.taf")) { Assert.assertNotNull("Test resource not found", stream); final ATerm t = _factory.readFromSharedTextFile(stream); Assert.assertEquals(_baseline, t); } }