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 Status(IPockyUserRepository pockyUserRepository, IConfigRepository configRepository, IPegHelper pegHelper, ILogger <Status> logger) { _pockyUserRepository = pockyUserRepository; _configRepository = configRepository; _pegHelper = pegHelper; _logger = logger; }
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 PegResultsHelperTests() { _configRepository = Substitute.For <IConfigRepository>(); _pegHelper = Substitute.For <IPegHelper>(); _subject = new PegResultsHelper(_configRepository, _pegHelper); }
public PegResultsHelper(IConfigRepository configRepository, IPegHelper pegHelper) { _configRepository = configRepository; _pegHelper = pegHelper; }