public UserLocationSetter(IPockyUserRepository pockyUserRepository, ILocationRepository locationRepository, IUserLocationRepository userLocationRepository, IChatHelper chatHelper) { _pockyUserRepository = pockyUserRepository; _locationRepository = locationRepository; _userLocationRepository = userLocationRepository; _chatHelper = chatHelper; }
public Status(IPockyUserRepository pockyUserRepository, IConfigRepository configRepository, IPegHelper pegHelper, ILogger <Status> logger) { _pockyUserRepository = pockyUserRepository; _configRepository = configRepository; _pegHelper = pegHelper; _logger = logger; }
public StatusTests() { _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _configRepository = Substitute.For <IConfigRepository>(); _pegHelper = Substitute.For <IPegHelper>(); _subject = new Status(_pockyUserRepository, _configRepository, _pegHelper, Substitute.For <ILogger <Status> >()); }
public Results(IPockyUserRepository pockyUserRepository, IPegResultsHelper pegResultsHelper, IResultsFileGenerator resultsFileGenerator, ILogger <Results> logger) { _pockyUserRepository = pockyUserRepository; _pegResultsHelper = pegResultsHelper; _resultsFileGenerator = resultsFileGenerator; _logger = logger; }
public UserLocation(IPockyUserRepository pockyUserRepository, IUserLocationGetter userLocationGetter, IUserLocationSetter userLocationSetter, IUserLocationDeleter userLocationDeleter) { _pockyUserRepository = pockyUserRepository; _userLocationGetter = userLocationGetter; _userLocationSetter = userLocationSetter; _userLocationDeleter = userLocationDeleter; }
public RoleConfigTests() { _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _chatHelper = Substitute.For <IChatHelper>(); _chatHelper.People.Returns(Substitute.For <IPersonHandler>()); _subject = new RoleConfig(_pockyUserRepository, _chatHelper); }
public UserLocationTests() { _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _userLocationGetter = Substitute.For <IUserLocationGetter>(); _userLocationSetter = Substitute.For <IUserLocationSetter>(); _userLocationDeleter = Substitute.For <IUserLocationDeleter>(); _subject = new UserLocation(_pockyUserRepository, _userLocationGetter, _userLocationSetter, _userLocationDeleter); }
public UsernameUpdaterTests() { _personHandler = Substitute.For <IPersonHandler>(); _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _subject = new UsernameUpdater(_personHandler, _pockyUserRepository); _inputPockyUsers = new List <PockyUser>(); }
public TriggerResponseTesterTests() { _settings = new PockyBotSettings(); _pockyUserRepository = Substitute.For <IPockyUserRepository>(); var options = Substitute.For <IOptions <PockyBotSettings> >(); options.Value.Returns(_settings); _subject = new TriggerResponseTester(options, _pockyUserRepository); }
public FinishTests() { _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _pegResultsHelper = Substitute.For <IPegResultsHelper>(); _directResultsMessageSender = Substitute.For <IDirectResultsMessageSender>(); _resultsFileGenerator = Substitute.For <IResultsFileGenerator>(); _usernameUpdater = Substitute.For <IUsernameUpdater>(); _subject = new Finish(_pockyUserRepository, _pegResultsHelper, _directResultsMessageSender, _resultsFileGenerator, Substitute.For <ILogger <Finish> >(), _usernameUpdater); }
public Finish(IPockyUserRepository pockyUserRepository, IPegResultsHelper pegResultsHelper, IDirectResultsMessageSender directResultsMessageSender, IResultsFileGenerator resultsFileGenerator, ILogger <Finish> logger, IUsernameUpdater usernameUpdater) { _pockyUserRepository = pockyUserRepository; _pegResultsHelper = pegResultsHelper; _logger = logger; _usernameUpdater = usernameUpdater; _directResultsMessageSender = directResultsMessageSender; _resultsFileGenerator = resultsFileGenerator; }
public HelpTests() { var pockyUserSettings = Substitute.For <IOptions <PockyBotSettings> >(); pockyUserSettings.Value.Returns(new PockyBotSettings { BotName = BotName }); _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _configRepository = Substitute.For <IConfigRepository>(); _subject = new Help(_pockyUserRepository, pockyUserSettings, _configRepository); }
public Peg(IPegRequestValidator pegRequestValidator, IPockyUserRepository pockyUserRepository, IPegHelper pegHelper, IConfigRepository configRepository, IChatHelper chatHelper, IPegGiver pegGiver, ILogger <Peg> logger) { _pegRequestValidator = pegRequestValidator; _pockyUserRepository = pockyUserRepository; _pegHelper = pegHelper; _configRepository = configRepository; _chatHelper = chatHelper; _pegGiver = pegGiver; _logger = logger; }
public PegTests() { _pegRequestValidator = Substitute.For <IPegRequestValidator>(); _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _pegHelper = Substitute.For <IPegHelper>(); _configRepository = Substitute.For <IConfigRepository>(); _chatHelper = Substitute.For <IChatHelper>(); _chatHelper.People.Returns(Substitute.For <IPersonHandler>()); _pegGiver = Substitute.For <IPegGiver>(); _subject = new NET.Services.Triggers.Peg(_pegRequestValidator, _pockyUserRepository, _pegHelper, _configRepository, _chatHelper, _pegGiver, Substitute.For <ILogger <NET.Services.Triggers.Peg> >()); }
public RemoveUser(IPockyUserRepository pockyUserRepository, ILogger <RemoveUser> logger) { _pockyUserRepository = pockyUserRepository; _logger = logger; }
public UserLocationGetterTests() { _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _subject = new UserLocationGetter(_pockyUserRepository); }
public TriggerResponseTester(IOptions <PockyBotSettings> settings, IPockyUserRepository pockyUserRepository) { _settings = settings.Value; _pockyUserRepository = pockyUserRepository; }
public UserLocationGetter(IPockyUserRepository pockyUserRepository) { _pockyUserRepository = pockyUserRepository; }
public RoleConfig(IPockyUserRepository pockyUserRepository, IChatHelper chatHelper) { _pockyUserRepository = pockyUserRepository; _chatHelper = chatHelper; }
public Help(IPockyUserRepository pockyUserRepository, IOptions <PockyBotSettings> pockySettings, IConfigRepository configRepository) { _pockyUserRepository = pockyUserRepository; _configRepository = configRepository; _pockyBotSettings = pockySettings.Value; }
public UsernameUpdater(IPersonHandler personHandler, IPockyUserRepository pockyUserRepository) { _personHandler = personHandler; _pockyUserRepository = pockyUserRepository; }
public RemoveUserTests() { _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _subject = new RemoveUser(_pockyUserRepository, Substitute.For <ILogger <RemoveUser> >()); }
public LocationConfigTests() { _locationRepository = Substitute.For <ILocationRepository>(); _pockyUserRepository = Substitute.For <IPockyUserRepository>(); _subject = new LocationConfig(_locationRepository, _pockyUserRepository); }
public LocationConfig(ILocationRepository locationRepository, IPockyUserRepository pockyUserRepository) { _locationRepository = locationRepository; _pockyUserRepository = pockyUserRepository; }