public void Given_Valid_Account_Deatils_With_Higher_Balance_Should_Get_Payment() { AccountDataStore accountDataStore = new AccountDataStore(); var result = accountDataStore.GetAccount("19202122"); FastPayment fastPayment = new FastPayment(); Assert.AreEqual(true, fastPayment.CheckBalance(result, 450M)); }
public void Given_Valid_Account_Deatils_With_Lower_Balance_Should_not_Get_Payment() { AccountDataStore accountDataStore = new AccountDataStore(); var result = accountDataStore.GetAccount("15161718"); FastPayment fastPayment = new FastPayment(); Assert.AreEqual(false, fastPayment.CheckBalance(result, 450M)); }