public void AskForNewGame_ReturnsWhatIsReadByConsole(string command) { _consoleMock.Setup(console => console.ReadLine()) .Returns(command); var result = _communicator.AskForNewGame(); Assert.AreEqual(command, result); }