public void ThenTheAtmWithdrawHasBeenUpdated() { var newCountAtmWithdraws = DatabaseChecker.CountAtmWithdraws(); Assert.AreEqual(newCountAtmWithdraws, _countAtmWithdraws); _newCostAtmWithdraw = DatabaseChecker.GetAtmWithdrawInitialAmount(_atmWithdrawId); Assert.AreEqual(_costAtmWithdraw + 100, _newCostAtmWithdraw); }
public void GivenIHaveAccessedTheAtmWithdrawListPage() { SiteMap.AccountManagementDashboardPage.GoTo(); _sourceAccountId = SiteMap.AccountManagementDashboardPage.SelectAccount(); _sourceAccountAmount = DatabaseChecker.GetBankAccountAmount(_sourceAccountId); SiteMap.AtmWithdrawListPage.GoTo(); _countAtmWithdraws = DatabaseChecker.CountAtmWithdraws(); _countMovements = DatabaseChecker.CountMovements(); }
public void ThenTheAtmWithdrawHasBeenRemoved() { var newCountAtmWithdraws = DatabaseChecker.CountAtmWithdraws(); Assert.AreEqual(newCountAtmWithdraws, _countAtmWithdraws - 1); }
public void ThenAnAtmWithdrawHasBeenCreated() { var newCountAtmWithdraws = DatabaseChecker.CountAtmWithdraws(); Assert.AreEqual(newCountAtmWithdraws, _countAtmWithdraws + 1); }