public void HasValueWithUnknownKey() { var key = new ConfigurationKey <string>("unknown"); var configuration = new ConsulConfiguration( new List <ConfigurationKeyBase> { key }, _subConfiguration); Assert.IsFalse(configuration.HasValueFor(key)); }
public void HasValueWithNullKey() { var key = new ConfigurationKey <string>("string"); var configuration = new ConsulConfiguration( new List <ConfigurationKeyBase> { key }, _subConfiguration); Assert.IsFalse(configuration.HasValueFor(null)); }