public void NewLaborCostUpdatesCorrectly(string newArea, string newProductName)
        {
            OrderRepository   OrderRepo   = new OrderRepository();
            EditOrderManager  EditManager = new EditOrderManager(OrderRepo);
            ProductRepository ProductRepo = new ProductRepository();

            //order product started with this
            EditManager.OrderToEdit.Product                        = new Product();
            EditManager.OrderToEdit.Product.ProductType            = "Carpet";
            EditManager.OrderToEdit.Product.CostPerSquareFoot      = 2.25M;
            EditManager.OrderToEdit.Product.LaborCostPerSquareFoot = 2.10M;
            EditManager.OrderToEdit.Area        = 200M;
            EditManager.OrderToEdit.ProductType = "Carpet";
            EditManager.ValidateArea(newArea);
            EditManager.ValidateProduct(newProductName);

            //this product object will be used to determine test calculations
            Product testProduct   = ProductRepo.ProductList.Find(p => p.ProductType == newProductName);
            decimal testLaborCost = EditManager.NewArea * testProduct.LaborCostPerSquareFoot;

            EditManager.CalculateNewLaborCost();
            Assert.AreEqual(EditManager.NewLaborCost, testLaborCost);


            //now change it -- how do I do that
            //user updates product
        }
        public void AreaUpdatesIfNotNull()
        {
            string           input       = "300";
            Response         response    = new Response();
            OrderRepository  OrderRepo   = new OrderRepository();
            EditOrderManager EditManager = new EditOrderManager(OrderRepo);

            EditManager.OrderToEdit.Area = 200M;

            response = EditManager.ValidateArea(input);
            Assert.AreEqual(response.Success, true);
            Assert.AreEqual(EditManager.NewArea, 300M);
        }