public void PurchaseMadeInsufficientFunds_CoinsNotInserted_FirstDisplayProductPriceThenInsertCoins() { var sut = new DisplayModule(); sut.InsufficientFundsForProduct(.25m); Assert.AreEqual("PRICE: $0.25", sut.ReadOut); Assert.AreEqual("INSERT COINS", sut.ReadOut); }
public void PurchaseMadeInsufficientFunds_CoinsInserted_FirstDisplayProductPriceThenInsertCoins() { var sut = new DisplayModule(); sut.UpdateInsertedCoinValue(.05m); sut.InsufficientFundsForProduct(.25m); Assert.AreEqual("PRICE: $0.25", sut.ReadOut); Assert.AreEqual("$0.05", sut.ReadOut); }