public void TestMissingUserName()
 {
     UserPasswordAuthentication authentication = new UserPasswordAuthentication("johndoe", "iknowyou");
     LoginRequest credentials = new LoginRequest();
     bool isValid = authentication.Authenticate(credentials);
     Assert.IsFalse(isValid);
 }
 public void TestIncorrectUserName()
 {
     UserPasswordAuthentication authentication = new UserPasswordAuthentication("johndoe", "iknowyou");
     LoginRequest credentials = new LoginRequest("janedoe");
     credentials.AddCredential(LoginRequest.PasswordCredential, "iknowyou");
     bool isValid = authentication.Authenticate(credentials);
     Assert.IsFalse(isValid);
 }