@Test
public void testMap() {

  expect(map.apply(12)).andReturn("foo");
  replay();
  assertEquals("foo", INTEGER.map(map).parse("12", mode));
  assertEquals(map.toString(), INTEGER.map(map).toString());
}