@Test
public void parseTextHeader() throws Exception {

    TextLeaf textLeaf = new TextLeaf("Worker information");
    textLeaf.getOptions().setBold(true);
    textLeaf.getOptions().setTextColor("#FFFFB6");
    assertEquals(AnsiParser.parseText("\u001B[33;1mWorker information\u001B[0m"), textLeaf);
}