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); }
public void CreateAccount() { AccountId = Manager.AddAccount(new Account() { FirstName = "FROM TEST", LastName = "FROM TEST", PhoneNumber = "+37035598988" }); Assert.IsTrue(AccountId > 0); }