public void testRewardForDining() {
// create a new dining of 100.00 charged to credit card '1234123412341234' by merchant '123457890' as test input
Dining dining = Dining.createDining("100.00", "1234123412341234", "1234567890");
// call the 'rewardNetwork' to test its rewardAccountFor(Dining) method
RewardConfirmation confirmation = rewardNetwork.rewardAccountFor(dining);
// assert the expected reward confirmation results
assertNotNull(confirmation);
assertNotNull(confirmation.getConfirmationNumber());
// assert an account contribution was made
AccountContribution contribution = confirmation.getAccountContribution();
assertNotNull(contribution);
// the account number should be '123456789'
assertEquals("123456789", contribution.getAccountNumber());