public void Run_ShouldNotThrowException__IfRobotNotPlaced() { _robot.Position = null; var action = new ReportAction(_robot, _mapProvider, _reporterMock.Object); action.Run(); }
public void Run_ShouldShowReport() { var action = new ReportAction(_robot, _mapProvider, _reporterMock.Object); action.Run(); _reporterMock.Verify(reporter => reporter.Info("Position: 3 2, facing: SOUTH."), Times.Once); }