@Test
public void hasTextTest() {

    assertFalse(hasText(null));
    assertTrue(hasText("a"));
    assertTrue(hasText("abc"));
    assertFalse(hasText(""));
    assertFalse(hasText(null));
    assertFalse(hasText(" "));
    assertFalse(hasText("\t"));
    assertFalse(hasText("\n"));
    assertFalse(hasText(" \t"));
}