@Test
public void testValueOf() throws Exception {

    Map<String, Object> options = formatter.getDefaultOptions();
    assertNull("Should return null for null formatter", formatter.valueOf("null", null, options));
    assertNull("Should return null for null formatter", formatter.valueOf(null, null, options));
}