コード例 #1
0
        public void Then_protected_getters_should_be_used()
        {
            var settings = new AppSettings("filename", FileOption.None);
            var mySettings = new SettingsWithProtectedGetters("a");

            settings.ReadFrom(mySettings);

            Assert.AreEqual("a", settings.GetValue("NonEmptyStringValue"));
        }