void () { List<Revision> rr = createRevisions("one", "two"); SelectionCalculator c = new SelectionCalculator(gw, rr, 0, 0); Progress p = createMock(Progress.class); p.processed(50); p.processed(100); replay(p); c.canCalculateFor(rr.get(1), p); verify(p); }