assertEquals("f", StringUtils.replace("oofoo", "o", "", -5)); assertEquals("f", StringUtils.replace("oofoo", "o", "", 1000));
    public void testReplace_StringStringStringInt() {        assertEquals(null, StringUtils.replace(null, null, null, 2));        assertEquals(null, StringUtils.replace(null, null, "any", 2));        assertEquals(null, StringUtils.replace(null, "any", null, 2));        assertEquals(null, StringUtils.replace(null, "any", "any", 2));        assertEquals("f", StringUtils.replace("oofoo", "o", "", -1));        assertEquals("oofoo", StringUtils.replace("oofoo", "o", "", 0));        assertEquals("ofoo", StringUtils.replace("oofoo", "o", "", 1));        assertEquals("foo", StringUtils.replace("oofoo", "o", "", 2));        assertEquals("fo", StringUtils.replace("oofoo", "o", "", 3));        assertEquals("f", StringUtils.replace("oofoo", "o", "", 4));    }