예제 #1
0
        public void Account_Company()
        {
            int    customerType       = 2; //Company
            int    customerId         = 0; //Create
            string email              = "*****@*****.**";
            string cvr                = "123456789";
            string companyName        = "Claus & Co";
            string address1           = "Nattegalevej 123";
            string address2           = "";
            string zipCode            = "8464";
            string city               = "Galten";
            string country            = "Danmark";
            string phone              = "40223483";
            string mobilePhone        = "40223484";
            bool   newsLetter         = false;
            bool   smsServive         = false;
            string companyContact     = "";
            string companyContactInfo = "";

            //Act
            var response = controller.CompanyAccount(customerType, customerId, email, cvr, companyName, address1, address2, zipCode, city, country, phone, mobilePhone, newsLetter, smsServive, companyContact, companyContactInfo);

            //Assert
            Assert.IsNotNull(response);
        }