public void NullEmail_Throws()
 {
     var sub = new UserAccount();
     var result = sub.ChangeEmailFromKey("key", null);
 }
 public void EmptyEmail_Throws()
 {
     var sub = new UserAccount();
     var result = sub.ChangeEmailFromKey("key", "");
 }
 public void EmptyKey_ReturnsFail()
 {
     var sub = new UserAccount();
     var result = sub.ChangeEmailFromKey("", "*****@*****.**");
     Assert.IsFalse(result);
 }