@Test
void testFormatTextBox() {

    String text = "A AB ABC AB Abc ad skh sjh ajsh a aksjka ka sdja aVeryLongWordThatCertainlyWillOverflow bye";
    int width = 10;
    String tenChars
        = "          ";
    String expResult
        = "A AB ABC\n"
        + "AB Abc ad\n"
        + "skh sjh\n"
        + "ajsh a\n"
        + "aksjka ka\n"
        + "sdja\n"
        + "aVeryLongWordThatCertainlyWillOverflow\n"
        + "bye";
    final String result = TextUtil.formatTextBox(text, width);
    //System.out.println(result);
    assertEquals(expResult, result);
}