public void AddedDefine_should_be_found() { string key = "Test", value = "$9F"; DefineRepository repo = new DefineRepository(); repo.AddDefine(key, "$9F"); bool found = repo.TryGetValue(key, out var res); Assert.IsTrue(found); Assert.AreEqual(value, res); }