public void DefaultCtor_HasEmptySettings()
        {
            var s = new PluginSettings();

            Assert.IsTrue(s.DefaultIsEmpty);
            Assert.IsTrue(s.UserIsEmpty);
        }
        public void Init()
        {
            var ini = new string[] {
                "First = 1",
                "Second=two",
                "Third = false",
                "[Section 1]",
                "First=First Section"
            };

            settings = new PluginSettings(string.Join("\n", ini));
            settings.RestoreDefaults();
        }
        public void DecodesUnicodeStrings()
        {
            var unicode = new PluginSettings("Name = シオヲ");

            Assert.AreEqual("\u30b7\u30AA\u30F2", unicode.Get("Name"));
        }