ParseTextUtils { public static boolean isEmpty(CharSequence text) { return text == null || text.length() == 0; } private  ParseTextUtils(); static boolean isEmpty(CharSequence text); static boolean equals(CharSequence a, CharSequence b);  }
@Test public void testEmptyStringIsEmpty() { assertTrue(ParseTextUtils.isEmpty("")); }
@Test public void testNullStringIsEmpty() { assertTrue(ParseTextUtils.isEmpty(null)); }
@Test public void testStringIsNotEmpty() { assertFalse(ParseTextUtils.isEmpty("not empty")); }