public void MemberDataExample(string accNo, string accName, AccountType accType, Currencies accCurr) { BankSimulator simulator = new BankSimulator(); simulator.OpenAccount(accNo, accName, accType, accCurr); simulator.CloseAccount(accNo); }
public void FactTest() { BankSimulator simulator = new BankSimulator(); simulator.OpenAccount("1234567890", "Test Account1", AccountType.CustomerAccount, Currencies.ZAR); simulator.CloseAccount("1234567890"); //if the account is opened correctly we should be able to close it }