public AccountManagerTester()
        {
            Savings  = new Account("Savings", AccountType.Asset);
            Checking = new Account("Checking", AccountType.Asset);
            Credit   = new LiabilityAccount("Credit");

            Manager.AddAccount(Savings);
            Manager.AddAccount(Checking);
            Manager.AddAccount(Credit);
        }
示例#2
0
        public void CreateAccount()
        {
            AccountId = Manager.AddAccount(new Account()
            {
                FirstName   = "FROM TEST",
                LastName    = "FROM TEST",
                PhoneNumber = "+37035598988"
            });

            Assert.IsTrue(AccountId > 0);
        }