コード例 #1
0
        public void GetChild_ShouldReturnExistingChild(string childName)
        {
            // Prepare
            // Execute
            var gs = _gSettings.GetChild(childName);

#pragma warning disable 618
            var keys = gs.ListKeys();
#pragma warning restore 618
            // Validate
            Assert.NotNull(gs);
            Assert.NotNull(keys);
            Assert.Equal(2, keys.Count);
        }