public void Game_not_Win_When_Game_Start() { hangman.type(ANY_CHAR) .checkGameWin(mockAfterGameWin); mockAfterGameWin.DidNotReceive(); }
public void Game_not_Over_When_Game_Start() { hangman.type(ANY_CHAR) .checkGameOver(mockAfterGameOver); mockAfterGameOver.DidNotReceive(); }
public void discovered_when_type_a_contained_consonant() { HangmanForTest hangman = new HangmanForTest("word"); hangman.type(CONTAINED_CONSONANT); Assert.AreEqual("wo__", hangman.discovered()); }
public void used_when_type_a_vowel() { hangman.type(VOWEL); Assert.AreEqual(ALL_VOWELS, hangman.used()); }
public void tries_when_type_a_vowel() { hangman.type(VOWEL); Assert.AreEqual(MAX_TRIES - 1, hangman.tries()); }