001package headfirst.state.gumballstate;
002
003public class GumballMachineTestDrive {
004
005        public static void main(String[] args) {
006                GumballMachine gumballMachine = new GumballMachine(5);
007
008                System.out.println(gumballMachine);
009
010                gumballMachine.insertQuarter();
011                gumballMachine.turnCrank();
012
013                System.out.println(gumballMachine);
014
015                gumballMachine.insertQuarter();
016                gumballMachine.turnCrank();
017                gumballMachine.insertQuarter();
018                gumballMachine.turnCrank();
019
020                System.out.println(gumballMachine);
021        }
022}