public void CustomerNameUpdatesIfNotNull()
        {
            string           name        = "Sally";
            Response         response    = new Response();
            OrderRepository  OrderRepo   = new OrderRepository();
            EditOrderManager EditManager = new EditOrderManager(OrderRepo);

            EditManager.OrderToEdit.CustomerName = "Sam";
            response = EditManager.ValidatesCustomerName(name);
            Assert.AreEqual(response.Success, true);
            Assert.AreEqual(EditManager.NewCustomerName, "Sally");
        }
        public void CustomerNameCanBeEmpty(string name, bool expected)
        {
            Response         response    = new Response();
            OrderRepository  OrderRepo   = new OrderRepository();
            EditOrderManager EditManager = new EditOrderManager(OrderRepo);

            response = EditManager.ValidatesCustomerName(name);

            bool actual = response.Success;

            Assert.AreEqual(expected, actual);
        }