Example #1
0
        public void ShouldDeSerialize()
        {
            var adminThing       = new AdminThing("some weirdo");
            var serializedString = adminThing.Serialize();
            var newThing         = Thing.DeSerialize <AdminThing>(serializedString);

            Assert.IsTrue(newThing != null);
        }
Example #2
0
 public void ShouldSerialize()
 {
     var adminThing       = new AdminThing("some weirdo");
     var serializedString = adminThing.Serialize();
 }