Esempio n. 1
0
        public void SetCustomer_WhenCustomerIsGiven()
        {
            // Arrange
            Customer     customer = new Customer();
            MainMenu     mm       = new MainMenu();
            CustomerForm cf       = new CustomerForm(mm);

            // Act
            cf.SetCustomer(customer);

            // Assert
            Customer expected = customer;

            Assert.AreEqual(expected, customer);
        }