public void PostDoc_IsNull() { var doc = Config.LoadDocFromString("baseKey: 10", c_filename); PostDocClass2 tc = null; ConfigReifier.Reify(ref tc, doc); Assert.AreEqual(tc.baseKey, 10); }
public void PostDoc_DoesntExist() { var doc = Configs.ParseString("baseKey: 10", FILENAME); PostDocClass2 instance = null; Configs.Reify(ref instance, doc); Assert.NotNull(instance); Assert.AreEqual(instance.baseKey, 10); }