public void TestCurrentConfig() { ParseConfig config = ParseConfig.CurrentConfig; Assert.AreEqual("testValue", config["testKey"]); Assert.AreEqual("testValue", config.Get <string>("testKey")); }
public void TestCurrentConfig() { ParseConfig config = ParseConfig.CurrentConfig; if (config.TryGetValue("testKey", out string result) == true) { Assert.AreEqual("testValue", result); } Assert.AreEqual("testValue", config.Get <string>("testKey")); }