public void TestFunctions() { var bank = new BankAccount("Newb", 20, new List <string>()); var service = new BankServices(); Assert.ThrowsException <System.ArgumentException>(() => service.CreateBankAccount(bank.FullName)); }