private int confirmations = 0;
@Override
protected void setUp() throws Exception {
super.setUp();
batch.setRewardNetwork(new RewardNetworkImpl(new StubAccountRepository(), new StubRestaurantRepository(),
new StubRewardRepository() {
@Override
public RewardConfirmation confirmReward(AccountContribution contribution, Dining dining) {
confirmations++;
return super.confirmReward(contribution, dining);