@Test
public void testPostfix() {

  expect(unaryOp.apply(2)).andReturn(4);
  expect(unaryOp.apply(4)).andReturn(256);
  replay();
  Parser<Integer> parser = INTEGER.postfix(isChar('^').retn(unaryOp));
  assertEquals((Object) 256, parser.parse("2^^", mode));
}