assertEquals("The quick brown fox jumps over the lazy dog.", format.replaceObject(REPLACE_TEMPLATE));
assertEquals("The quick brown fox jumps over the lazy dog.", this.getFormat().replaceObject(REPLACE_TEMPLATE)); Map map = this.getValueMap(); map.put("animal", "cow"); map.put("target", "moon"); assertEquals("The cow jumps over the moon.", this.getFormat().replace(REPLACE_TEMPLATE));
    public void testReplace() {        assertEquals("The quick brown fox jumps over the lazy dog.", format.replaceObject(REPLACE_TEMPLATE));        format.getValueMap().put("animal", "cow");        format.getValueMap().put("target", "moon");        assertEquals("The cow jumps over the moon.", format.replace(REPLACE_TEMPLATE));        assertEquals("Variable ${var} is unknown!", format.replace("Variable ${var} is unknown!"));    }