void () { assertEquals(1, StringUtil.indexOf("axaXa", 'x', 0, 5, false)); assertEquals(3, StringUtil.indexOf("axaXa", 'X', 0, 5, true)); assertEquals(2, StringUtil.indexOf("abcd", 'c', -42, 99, false)); }