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