public void RunGame_WhenGameIsWon_CallsDisplayWin() { _inputManager.Stub(x => x.GetDirection()).Return(PlayerDirection.Right); _inputManager.Stub(x => x.GetYesNoResponse()).Return(false); _testGameState.Stub(x => x.HasWon()).Return(true); _game.RunGame(); _displayManager.AssertWasCalled(x => x.DisplayWin(_testGameState)); }