예제 #1
0
        public void Account_Private()
        {
            int    customerType  = 1; //Private
            int    customerId    = 0; //Create
            string email         = "*****@*****.**";
            string driverLicense = "12121237";
            string birthDay      = "08021971";
            string name          = "Claus";
            string surname       = "Skydt";
            string address1      = "Nattegalevej 121";
            string address2      = "";
            string zipCode       = "8464";
            string city          = "Galten";
            string country       = "Danmark";
            string phone         = "40223481";
            string mobilePhone   = "40223482";
            bool   newsLetter    = false;
            bool   smsServive    = false;

            //Act
            var response = controller.PrivateAccount(customerType, customerId, email, driverLicense, birthDay, name, surname, address1, address2, zipCode, city, country, phone, mobilePhone, newsLetter, smsServive);

            //Assert
            Assert.IsNotNull(response);
        }