private IGenerationService _createTestSubject(INeighborCounterService neighbourCounterSvc = null) { neighbourCounterSvc = neighbourCounterSvc ?? new NeighborCounterServiceBuilder().Build(); return(new GenerationService(neighbourCounterSvc)); }
public GenerationService(INeighborCounterService neighbourCounterSvc) { _neighbourCounterSvc = neighbourCounterSvc; }