public void LetterAsk_ReturnsFalse_IfWordHasNoLetter() { input.ReadLine().Returns("b"); var letterAsk = new LetterAsk(input, output); letterAsk.Ask(state).Should().BeFalse(); }
public void LetterAsk_ReadsAgain_IfEmptyStringGiven() { var letterAsk = new LetterAsk(input, output); letterAsk.Ask(state); input.Received(2).ReadLine(); output.Received().WriteLine(Arg.Any <string>()); }
public void LetterAsk_ReturnsTrue_IfWordHasLetter() { var letterAsk = new LetterAsk(input, output); letterAsk.Ask(state).Should().BeTrue(); }