public RoverServiceFixture() { _plateauServiceMock = new Mock <IPlateauService>(); _roverCommandService = new RoverCommandService(); _roverService = new RoverService(_roverCommandService, _plateauServiceMock.Object); _plateauPosition = new Position { X = 5, Y = 5 }; _plateauServiceMock.Setup(x => x.SetPlateauPosition(_plateauPosition)); }
public RoverService(IRoverCommandService roverCommandService, IPlateauService plateauService) { _roverCommandService = roverCommandService; _plateauService = plateauService; }