public WebHookHandlerRegistry(IWebHookHandlerResolver webHookHandlerResolver, IGitHubClientFactory gitHubClientFactory, IHttpContextAccessor httpContextAccessor) { _webHookHandlerResolver = webHookHandlerResolver; _gitHubClientFactory = gitHubClientFactory; _httpContextAccessor = httpContextAccessor; }
public WebHookHandlerResolverTests() { var webHookHandlerFaker = new WebHookHandlerFaker(); var handlers = webHookHandlerFaker.Generate(10); _sut = new WebHookHandlerResolver(handlers); }