public void StoreEmployee_Gets_ThirtyPercent_Discount()
        {
            // Quickly create Bill object with a line items and pass it to
            // User object
            var bill             = new Bill(1, 75, "shoes");
            var storeEmployee    = new StoreEmployee(1);
            var netPayableAmount = storeEmployee.getNetAmountPayable(bill);

            Assert.Equal(52.5, netPayableAmount);
        }
        public void StoreEmployee_Gets_FiveDollar_ForEveryHundred_DollarBill()
        {
            // Quickly create Bill object with a line items and pass it to
            // User object
            var bill = new Bill(1, 990, "Laptop");

            var storeEmployee    = new StoreEmployee(1);
            var netPayableAmount = storeEmployee.getNetAmountPayable(bill);

            Assert.Equal(945, netPayableAmount);
        }
        public void StoreEmployee_NoPercentage_Discount_OnGroceris()
        {
            /*
             * Create a Bill object with a line items
             * Ideally, a Bill object should be created from a list of line items
             * (the LineItem class is shown on the UML class but never used)
             * I have hard-coded it to get ahead a bit as I was running out of time
             * due to various environment setup issues throughout this exercise unfortunately.
             */
            var bill = new Bill(1, 25, "Groceries");

            var storeEmployee    = new StoreEmployee(1);
            var netPayableAmount = storeEmployee.getNetAmountPayable(bill);

            Assert.Equal(25, netPayableAmount);
        }