public MutantController(ILogger <MutantController> logger, IDnaAnalyzerService dnaAnalyzerService) { this.logger = logger ?? throw new ArgumentNullException(nameof(logger)); this.dnaAnalyzerService = dnaAnalyzerService ?? throw new ArgumentNullException(nameof(dnaAnalyzerService)); }
public void Initialize() { this.notificationServiceMock = new Mock <INotificationService>(); this.dnaAnalyzerService = new DnaAnalyzerService(this.notificationServiceMock.Object); }