format.getValueMap().put("value", new Integer(42)); assertEquals(new Integer(42), format.replaceObject("${value}")); assertEquals("The answer is 42.", format.replaceObject("The answer is ${value}."));
this.getValueMap().put("value", new Integer(42)); assertEquals(new Integer(42), this.getFormat().replaceObject("${value}")); assertEquals("The answer is 42.", this.getFormat().replaceObject("The answer is ${value}."));
    public void testReplaceObject() {        format.getValueMap().put("value", new Integer(42));        assertEquals(new Integer(42), format.replaceObject("${value}"));        assertEquals("The answer is 42.", format.replaceObject("The answer is ${value}."));    }