Exemple #1
0
        public void ListKeys_ShouldReturnsAllTheKeys()
        {
            // Prepare
            var expected = "list-my-pets, test-string, test-long, test-uint, test-flags, current-state, my-flag-is-active, " +
                           "test-int, test-uint64, list-prime-numbers, test-double";

            //Execute
#pragma warning disable 618
            var result = _gSettings.ListKeys();
#pragma warning restore 618
            // Validate
            Assert.Equal(expected, string.Join(", ", result));
        }