public void SaveLoadError()
        {
            DummyErrorClass dummy = new DummyErrorClass();

            TPPersist.Save(dummy);

            dummy.Text    = "CantLoad";
            dummy.Text2   = "CantLoad";
            dummy.Integer = 111;

            dummy = TPPersist.Load(dummy);
            Assert.AreEqual("CantLoad", dummy.Text);
            Assert.AreEqual("CantLoad", dummy.Text2);
            Assert.AreEqual(111, dummy.Integer);
        }
        public void SaveLoad()
        {
            DummyClass dummy = new DummyClass();

            TPPersist.Save(dummy);

            dummy.DefaultText    = "WontSeeThis";
            dummy.Text           = "WontSeeThis";
            dummy.NotDefaultText = "WontSeeThis";

            TPPersist.Load(dummy); // or dummy = TPPersistSystem.Load(dummy);
            Assert.AreEqual("NotDefault", dummy.Text);
            Assert.AreEqual("Default", dummy.DefaultText);
            Assert.IsNull(dummy.NotDefaultText);
        }