public void ShouldDisplayCorrectlyAfterCoinInserts(int[] coins, int minutes) { foreach (var coin in coins) { _ps.AddPayment(coin); } Assert.That(_ps.ReadDisplay(), Is.EqualTo(minutes)); }
public int ReadDisplay() { return(_payStation.ReadDisplay()); }