assertNull(format.replace(null)); assertEquals("Nothing to replace.", format.replace("Nothing to replace.")); assertEquals("42", format.replace(new Integer(42)));
assertNull(this.getFormat().replace(null)); assertEquals("Nothing to replace.", this.getFormat().replace("Nothing to replace.")); assertEquals("42", this.getFormat().replace(new Integer(42)));
    public void testReplaceNothing() {        assertNull(format.replace(null));        assertEquals("Nothing to replace.", format.replace("Nothing to replace."));        assertEquals("42", format.replace(new Integer(42)));    }