public void LookupAccountNameThrowsAnErrorIfAccountNumberNotFound() { MockEFTControllerWithAccountData controller = new MockEFTControllerWithAccountData(); NewTransferViewPresenter presenter = new NewTransferViewPresenter(controller); string AccountName = presenter.GetAccountName("NOTFOUND"); }
public void GetAccountNameReturnsCorrectAccountName() { MockEFTControllerWithAccountData controller = new MockEFTControllerWithAccountData(); NewTransferViewPresenter presenter = new NewTransferViewPresenter(controller); string AccountName = presenter.GetAccountName("GC20003004"); Assert.AreEqual("GlobalBank Savings 20003004", AccountName); }