@Test
public void testTerminalPage() throws IOException {

    TerminalPage tp = new TerminalPage(parser, 80);
    Assert.assertTrue(tp.hasData());
    Assert.assertTrue(tp.size() > 0);
    Assert.assertNotNull(tp.getLines());
    Assert.assertEquals("ASCIIDOC(1)", tp.getFileName());
    Assert.assertNotNull(tp.findWord("is"));
    Assert.assertTrue(tp.getLine(8).contains("DocBook"));
}