@Test
public void testConvertRawValueValidType() {

    Object expectedValue = "barfeebarfie";
    Object rawValue = "foofeefoofie";
    SimpleRegexReplacer regexReplacer = new SimpleRegexReplacer("(?i)foo", "bar");
    assertEquals(expectedValue, regexReplacer.convertRawValue(rawValue));
}