internal GameService(IRandomShipsGenerator randomShipsGenerator) { this.randomShipsGenerator = randomShipsGenerator; _ships = randomShipsGenerator.RandomizeShips(); }
public GameService() { randomShipsGenerator = new RandomShipsGenerator(); _ships = randomShipsGenerator.RandomizeShips(); }
public void SetUp() { TestedService = new RandomShipsGenerator(); }