@Test
public void testReplaceBoundedString() {

    final String empty = "";
    buildTestWithDefaults(REPLACEMENT, PREFIX + SUFFIX, empty);
    buildTest(empty, PREFIX + SUFFIX, empty, PREFIX, SUFFIX, empty);
    buildTest("RaRcccReeeR", "PSaPScccPdSeeePS", "R", "P", "S", empty, empty, "d", empty);
}