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