public void AdaptKey10()
        {
            var ok = AccountNumberHelper.CreateNumberWithControlKey(99999994);

            Assert.IsTrue(AccountNumberHelper.IsValid(int.Parse(ok)));
        }
        public void GenerateValidAccountNumber()
        {
            var number = AccountNumberHelper.GetRandomValidAccountNumber();

            Assert.IsTrue(AccountNumberHelper.IsValid(number));
        }
 public void NotValidateInvalidAccountNumber()
 {
     Assert.IsFalse(AccountNumberHelper.IsValid(445869873));
 }
 public void ValidateAccountNumber3()
 {
     Assert.IsTrue(AccountNumberHelper.IsValid(490867715));
 }
 public void ValidateAccountNumber2()
 {
     Assert.IsTrue(AccountNumberHelper.IsValid(457508000));
 }
 public void ValidateAccountNumber1()
 {
     Assert.IsTrue(AccountNumberHelper.IsValid(345882865));
 }