public void CantInsertMoreThan5Quarters()
        {
            uint gumballs = 1;
            var  gM       = new GumballMachine(gumballs);

            gM.InsertQuarter();
            gM.InsertQuarter();
            gM.InsertQuarter();
            gM.InsertQuarter();
            gM.InsertQuarter();
            gM.InsertQuarter();
            Assert.AreEqual(gM.GetQuartersCount(), (uint)5);
        }
        public void CanInsert2QuartersTurnCrankInHasQuarterStateAndDespenseBallAndMoveToSoldOutStateIfBalls0AndReturnQuarters()
        {
            var  strState = "sold out";
            uint gumballs = 0;
            var  testStr  = GetGumballMachineTestParsedString(gumballs, strState);
            var  gM       = new GumballMachine(1);

            gM.InsertQuarter();
            gM.InsertQuarter();
            gM.TurnCrank();
            Assert.AreEqual(gM.GetBallCount(), gumballs);
            Assert.AreEqual(gM.ToString(), testStr);
            Assert.AreEqual(gM.GetQuartersCount(), (uint)0);
        }