public ImportantBusinessTests() { configurationMock.Setup(o => o.GetSection(environmentConfigKey).Value).Returns(environment); subject = new ImportantBusiness(configurationMock.Object); }
public HomeController(ILogger <HomeController> logger, IImportantBusiness importantBusiness, ICounterService counterService) { _logger = logger; ImportantBusiness = importantBusiness; CounterService = counterService; }