public void Setup() { _logger = A.Fake <ILogger>(); _primaryStatsRepo = A.Fake <IPrimaryStatsRepo>(); _svcAutoMapper = A.Fake <ISvcAutoMapper>(); _primaryStatsService = new PrimaryStatsService(_logger, _primaryStatsRepo, _svcAutoMapper); }
public SkillsService(ILogger logger, ISkillsRepo skillsRepo, ISvcAutoMapper svcAutoMapper, ISkillTotalCalculator skillTotalCalculator, IPrimaryStatsService primaryStatsService) { _logger = logger; _skillsRepo = skillsRepo; _svcAutoMapper = svcAutoMapper; _skillTotalCalculator = skillTotalCalculator; _primaryStatsService = primaryStatsService; _primaryStatsService.PrimaryStatsUpdated += PrimaryStatsServiceOnPrimaryStatsUpdated; }
public void Setup() { _logger = A.Fake <ILogger>(); _skillsRepo = A.Fake <ISkillsRepo>(); _svcAutoMapper = A.Fake <ISvcAutoMapper>(); _skillTotalCalculator = A.Fake <ISkillTotalCalculator>(); _primaryStatsService = A.Fake <IPrimaryStatsService>(); _skillsService = new SkillsService(_logger, _skillsRepo, _svcAutoMapper, _skillTotalCalculator, _primaryStatsService); }
public PrimaryStatsService(ILogger logger, IPrimaryStatsRepo primaryStatsRepo, ISvcAutoMapper svcAutoMapper) { _logger = logger; _primaryStatsRepo = primaryStatsRepo; _svcAutoMapper = svcAutoMapper; }