Vending machine impliment using JMock