@Test
public void testToStringHex() throws Exception {

    ObjectReference or = this.getObjectReference("Foo");
    Map<String, Object> options = formatter.getDefaultOptions();
    options.put(NUMERIC_FORMAT_OPTION, NumericFormatEnum.HEX);
    assertEquals("Failed to format an object.", String.format("MockType@%#x", or.uniqueID()),
        formatter.toString(or, options));
}