@Test
public void testAcceptInvalidType() {

    SimpleRegexReplacer regexReplacer = new SimpleRegexReplacer("(?i)foo", "bar");
    Double doubleValue = 1000.05d;
    assertFalse(regexReplacer.accepts(doubleValue));
}