コード例 #1
0
        public void TestInsertCustomerSucces()
        {
            Customer c = new Customer();

            c.Email    = "*****@*****.**"; //If it fails try another mail
            c.Password = "******";
            c.FName    = "Jeppe";
            c.LName    = "Larsen";
            c.PhoneNo  = "45454545";

            using (PersonService.PersonServiceClient proxy = new PersonService.PersonServiceClient())
            {
                c = proxy.InsertCustomer(c);
            }
            Assert.IsNotNull(c);
        }