public void DisplayMarkWhenNumberGreaterThanFifty() { var numberGenerator = new NumberGeneratorTestDouble(51); var sut = new LottoWinnerGenerator(numberGenerator); Assert.That(sut.DisplayWinningNumber(), Is.EqualTo("Mark")); }
public void DisplayBobWhenNumberEqualOfLessThanFifty() { var numberGenerator = new NumberGeneratorTestDouble(49); var sut = new LottoWinnerGenerator(numberGenerator); Assert.That(sut.DisplayWinningNumber(), Is.EqualTo("Bob")); }