public void DisplayPlayingField_CallsConsoleForTitle_WhenCalled() { // Arrange IUserOutput sut = CreateSut(); // Act sut.DisplayPlayingField(); // Assert m_Console.Received().WriteLine("Minefield:"); }
public void DisplayPlayingField_CallsConsole_WhenCalled() { // Arrange IUserOutput sut = CreateSut(); // Act sut.DisplayPlayingField(); // Assert m_Console.Received().WriteLine(Arg.Any <string>()); }
public void DisplayPlayingField_CallsDisplayPlayingFieldField_WhenCalled() { // Arrange IUserOutput sut = CreateSut(); // Act sut.DisplayPlayingField(); // Assert // ReSharper disable once ReturnValueOfPureMethodIsNotUsed m_DisplayPlayingField.Received().ToString(); }
public void DisplayPlayingField() { m_UserOutput.DisplayPlayingField(); }