Esempio n. 1
0
 public StatusTests()
 {
     _pockyUserRepository = Substitute.For <IPockyUserRepository>();
     _configRepository    = Substitute.For <IConfigRepository>();
     _pegHelper           = Substitute.For <IPegHelper>();
     _subject             = new Status(_pockyUserRepository, _configRepository, _pegHelper,
                                       Substitute.For <ILogger <Status> >());
 }
Esempio n. 2
0
 public Status(IPockyUserRepository pockyUserRepository, IConfigRepository configRepository,
               IPegHelper pegHelper, ILogger <Status> logger)
 {
     _pockyUserRepository = pockyUserRepository;
     _configRepository    = configRepository;
     _pegHelper           = pegHelper;
     _logger = logger;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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> >());
 }
Esempio n. 5
0
 public PegResultsHelperTests()
 {
     _configRepository = Substitute.For <IConfigRepository>();
     _pegHelper        = Substitute.For <IPegHelper>();
     _subject          = new PegResultsHelper(_configRepository, _pegHelper);
 }
Esempio n. 6
0
 public PegResultsHelper(IConfigRepository configRepository, IPegHelper pegHelper)
 {
     _configRepository = configRepository;
     _pegHelper        = pegHelper;
 }