void () { assertTrue(StringUtil.startsWith("abcdefgh", 5, "fgh")); assertTrue(StringUtil.startsWith("abcdefgh", 2, "cde")); assertTrue(StringUtil.startsWith("abcdefgh", 0, "abc")); assertTrue(StringUtil.startsWith("abcdefgh", 0, "abcdefgh")); assertFalse(StringUtil.startsWith("abcdefgh", 5, "cde")); assertTrue(StringUtil.startsWith("abcdefgh", 0, "")); assertTrue(StringUtil.startsWith("abcdefgh", 4, "")); assertTrue(StringUtil.startsWith("abcdefgh", 7, "")); assertTrue(StringUtil.startsWith("abcdefgh", 8, "")); assertTrue(StringUtil.startsWith("", 0, "")); assertFalse(StringUtil.startsWith("ab", 0, "abcdefgh")); assertFalse(StringUtil.startsWith("ab", 1, "abcdefgh")); assertFalse(StringUtil.startsWith("ab", 2, "abcdefgh")); }