Example #1
0
        public void AddCustomerToMasterList_ShouldSucceed()
        {
            //Arrange
            Customer customer = new Customer("Kevin", "Curnow", "123 Soft Skills Lane", "Carmel, IN", 46032, CustomerType.Potential);

            //Act
            _customerService.AddCustomerToList(customer);
            var actuaList    = _customerService._customerList;
            var expectedList = new List <Customer> {
                customer
            };

            //Assert
            CollectionAssert.AreEqual(expectedList, actuaList);
        }