public GitHubIntegrator( IHttpClientFactory httpClientFactory, IOptionResolver optionResolver) { client = httpClientFactory.CreateClient(); option = optionResolver.Resolve(SupportedIntegrations.GitHub); }
public void Resolve_Should_ThrowWhenNoOptionAvailable() { Assert.Throws <ConfigurationErrorsException>(() => sut.Resolve("missing")); }