public void ExistsTest()
 {
     var target = new MockAccountProvider();
     string accountId = string.Empty;
     bool expected = true;
     bool actual;
     actual = target.Exists(accountId);
     Assert.AreEqual(expected, actual);
 }
 public void ChangeMobileTest()
 {
     var target = new MockAccountProvider();
     string accountId = string.Empty;
     bool expected = true;
     bool actual;
     actual = target.ChangeMobile(accountId, "1234567890");
     Assert.AreEqual(expected, actual);
 }
 public void ExistsTest1()
 {
     var target = new MockAccountProvider();
     string socialAccountId = string.Empty;
     string socialAccountType = string.Empty;
     bool expected = false;
     bool actual;
     actual = target.Exists(socialAccountId, socialAccountType);
     Assert.AreEqual(expected, actual);
 }
 public void ForgotPasswordByEmailTest()
 {
     var target = new MockAccountProvider();
     string email = string.Empty;
     bool accountExists = false;
     bool accountExistsExpected = true;
     bool expected = true;
     bool actual;
     actual = target.ForgotPasswordByEmail(email, out accountExists);
     Assert.AreEqual(accountExistsExpected, accountExists);
     Assert.AreEqual(expected, actual);
 }
 public void UpdatePasswordTest1()
 {
     var target = new MockAccountProvider();
     string accountId = string.Empty;
     string newPassword = string.Empty;
     bool expected = true;
     bool actual;
     actual = target.UpdatePassword(accountId, newPassword);
     Assert.AreEqual(expected, actual);
 }
 public void SetEmailActivatedTest()
 {
     var target = new MockAccountProvider();
     Account account = null;
     target.SetEmailActivated(account);
 }
 public void SetMobileVerifiedTest()
 {
     var target = new MockAccountProvider();
     Account account = null;
     target.SetMobileVerified(account);
 }
 public void RegisterSocialTest()
 {
     var target = new MockAccountProvider();
     string socialAccountId = string.Empty;
     string socialAccountType = string.Empty;
     string email = string.Empty;
     string firstName = string.Empty;
     string lastName = string.Empty;
     string mobile = string.Empty;
     string ipAddress = string.Empty;
     string authId = string.Empty;
     string authIdExpected = string.Empty;
     bool accountExists = false;
     bool accountExistsExpected = true;
     bool expected = true;
     bool actual;
     actual = target.RegisterSocial(socialAccountId, socialAccountType, email, firstName, lastName, mobile,
                                    ipAddress, out authId, out accountExists);
     Assert.IsNotNull(authId);
     Assert.AreEqual(accountExistsExpected, accountExists);
     Assert.AreEqual(expected, actual);
 }
 public void RegisterTest()
 {
     var target = new MockAccountProvider();
     string email = string.Empty;
     string firstName = string.Empty;
     string lastName = string.Empty;
     string mobile = string.Empty;
     string captchaChallenge = string.Empty;
     string captchaResponse = string.Empty;
     string ipAddress = string.Empty;
     string authId = string.Empty;
     string authIdExpected = string.Empty;
     bool accountExists = true;
     bool accountExistsExpected = true;
     bool isCaptchaValid = false;
     bool isCaptchaValidExpected = true;
     bool expected = true;
     bool actual;
     actual = target.Register(email, firstName, lastName, mobile, captchaChallenge, captchaResponse, ipAddress,
                              out authId, out accountExists, out isCaptchaValid);
     Assert.IsNotNull(authId);
     Assert.AreEqual(accountExistsExpected, accountExists);
     Assert.AreEqual(isCaptchaValidExpected, isCaptchaValid);
     Assert.AreEqual(expected, actual);
 }
 public void MergeSocialTest()
 {
     var target = new MockAccountProvider();
     string socialAccountId = string.Empty;
     string socialAccountType = string.Empty;
     string email = string.Empty;
     bool expected = true;
     bool actual;
     actual = target.MergeSocial(socialAccountId, socialAccountType, email);
     Assert.AreEqual(expected, actual);
 }
 public void MockAccountProviderConstructorTest()
 {
     var target = new MockAccountProvider();
 }
 public void LoginTest()
 {
     var target = new MockAccountProvider();
     string email = string.Empty;
     string password = string.Empty;
     string type = string.Empty;
     string authId = string.Empty;
     string authIdExpected = string.Empty;
     Account expected = null;
     Account actual;
     actual = target.Login(email, password, type, out authId);
     Assert.IsNotNull(authId);
     Assert.IsNotNull(actual);
 }
 public void IsValidTest1()
 {
     var target = new MockAccountProvider();
     bool expected = true;
     bool actual;
     actual = target.IsValid("1", "123");
     Assert.AreEqual(expected, actual);
 }
 public void IsValidTest()
 {
     var target = new MockAccountProvider();
     string authenticationId = string.Empty;
     bool expected = true;
     bool actual;
     actual = target.IsValid(authenticationId);
     Assert.AreEqual(expected, actual);
 }
 public void GetAccountTest()
 {
     var target = new MockAccountProvider();
     string accountId = string.Empty;
     Account expected = null;
     Account actual;
     actual = target.GetAccount(accountId);
     Assert.IsNotNull(actual);
 }
 public void GetAccountIdTest()
 {
     var target = new MockAccountProvider();
     string email = string.Empty;
     string accountType = string.Empty;
     string expected = "1";
     string actual;
     actual = target.GetAccountId(email, accountType);
     Assert.AreEqual(expected, actual);
 }