public void TestLoginEmployeeMissingUserAndPass() { //Arrange string username = ""; string pass = ""; bool verified = false; using (PersonService.PersonServiceClient proxy = new PersonService.PersonServiceClient()) { //act verified = proxy.LogOn(username, pass); } //assert Assert.IsFalse(verified); }
public void TestLoginEmployeeSuccesful() { //arrange string username = "******"; string pass = "******"; bool verified = false; using (PersonService.PersonServiceClient proxy = new PersonService.PersonServiceClient()) { //act verified = proxy.LogOn(username, pass); } //assert Assert.IsTrue(verified); }