format.replace(REPLACE_TEMPLATE);
this.getFormat().replace(REPLACE_TEMPLATE);
    public void testCyclicReplacement() {        Map valuesMap = new HashMap();        valuesMap.put("animal", "${critter}");        valuesMap.put("target", "${pet}");        valuesMap.put("pet", "${petCharacteristic} dog");        valuesMap.put("petCharacteristic", "lazy");        valuesMap.put("critter", "${critterSpeed} ${critterColor} ${critterType}");        valuesMap.put("critterSpeed", "quick");        valuesMap.put("critterColor", "brown");        valuesMap.put("critterType", "${animal}");        format.setValueMap(valuesMap);        try {            format.replace(REPLACE_TEMPLATE);            fail("Cyclic replacement was not detected!");        } catch (IllegalStateException isx) {            // ok        }    }