예제 #1
0
        private void AddAccount(string TextOfPhone)
        {
            Account NewAccount = new Account(0, TextOfPhone, CountryHandler);

            Repository.AddAccount(NewAccount);
            MessageAccountAdded();
        }
예제 #2
0
 public void AddAccountEmpty()
 {
     Account.Mobile = "";
     Repository.AddAccount(Account);
     Assert.AreEqual(false, Repository.GetAccounts().Contains(Account));
 }