Calculator { public static int evaluate(String source) { return parser().parse(source); }  static int evaluate(String source);  }
@Test public void testEvaluate() { assertResult(1, "1"); assertResult(1, "(1)"); assertResult(3, "1+2"); assertResult(-5, "1+2*-3"); assertResult(1, "((1-2)/-1)"); }