public void ProtocolIsHttpWhenUseSSLIsFalse() { var opts = new DogCeoDataProviderOptions { DataProviderUseSSL = false }; var ceoDogProvider = new DogCeoAnimalProvider(opts); Assert.AreEqual("http", ceoDogProvider.GetProtocol().ToLower()); }
public ConfigSettingsAnimalFactory(IOptions <DogCeoDataProviderOptions> options) { _options = options.Value; }