public void WordFoundShouldReturnTrueIfWordHasBeenGuessed() { var attemptsLeft = _hangman.GetAttemptsLeft(); _hangman.GuessLetter('c'); _hangman.GuessLetter('a'); _hangman.GuessLetter('n'); _hangman.GuessLetter('t'); _hangman.GuessLetter('e'); _hangman.GuessLetter('l'); _hangman.GuessLetter('o'); // Simple check. Should be false since word has not been guessed completely _hangman.IsWordBeenGuessedCompletely().Should().BeFalse(); // Guess the last letter _hangman.GuessLetter('p'); _hangman.GetAttemptsLeft().Should().Be(attemptsLeft); _hangman.IsWordBeenGuessedCompletely().Should().BeTrue(); }