Exemplo n.º 1
0
        public void Withdrawl_Updates_Drawer()
        {
            //arrange
            int        withdrawlAmount = 217;
            int        expected        = 1643;
            CashDrawer testDrawer      = new CashDrawer();

            //act
            testDrawer.Withdraw(withdrawlAmount);

            //assert
            int actual = testDrawer.Total;

            Assert.AreEqual(expected, testDrawer.Total);
        }