public void TestLoginCustomerMissingPass() { //arrenge string email = "*****@*****.**"; string pass = ""; Customer customer = new Customer(); using (PersonService.PersonServiceClient proxy = new PersonService.PersonServiceClient()) { //act customer = proxy.LoginCustomer(email, pass); } //assert Assert.IsNull(customer); }
public void TestLoginCustomerMissingEmailAndPass() { //Arrange string username = ""; string pass = ""; Customer customer = new Customer();; using (PersonService.PersonServiceClient proxy = new PersonService.PersonServiceClient()) { //Act customer = proxy.LoginCustomer(username, pass); } //Assert Assert.IsNull(customer); }
public void TestLoginCustomerMissingEmail() { //arrenge string email = ""; string pass = "******"; Customer customer = new Customer(); using (PersonService.PersonServiceClient proxy = new PersonService.PersonServiceClient()) { //act customer = proxy.LoginCustomer(email, pass); } //assert Assert.IsNull(customer); }