public void Test_Basic_Get_And_Set_Operation() { IParameterDic dic = new ParameterDic(); int totalItems1, totalItems2; string property1Value; int property2Value; dic.Set("{Property1}", "Property1"); dic.Set("{Property2}", 2); totalItems1 = dic.List().Count(); property1Value = dic.Get("{Property1}") as string; property2Value = dic.Get<int>("{Property2}"); dic.Remove("{Property2}"); totalItems2 = dic.List().Count(); Assert.AreEqual(2, totalItems1); Assert.AreEqual(1, totalItems2); Assert.AreEqual("Property1", property1Value); Assert.AreEqual(2, property2Value); }