public void ConfigurationContext_Unit_IsPathKnown2_TypeIsNull() { ConfigurationContext target = new ConfigurationContext(); Boolean expected = false; Type type = null; Boolean actual = target.IsPathKnown(type); Assert.AreEqual(expected, actual); }
public void ConfigurationContext_Unit_IsPathKnown2_False() { ConfigurationContext target = new ConfigurationContext(); Boolean expected = false; Type type = typeof(MockConfigurationSection); Boolean actual = target.IsPathKnown(type); Assert.AreEqual(expected, actual); }
public void ConfigurationContext_Unit_IsPathKnown2_True() { ConfigurationContext target = new ConfigurationContext(); String path = "vizistata.diagnostics/test"; target.AddPath<MockConfigurationSection>(path); Boolean expected = true; Type type = typeof(MockConfigurationSection); Boolean actual = target.IsPathKnown(type); Assert.AreEqual(expected, actual); }
public void ConfigurationContext_Unit_IsPathKnown1_False() { ConfigurationContext target = new ConfigurationContext(); Boolean expected = false; Boolean actual = target.IsPathKnown<MockConfigurationSection>(); Assert.AreEqual(expected, actual); }