public void TestGetValue() { var expected = "bar2"; var table = new MyHashtable <string, string>(); table["foo"] = "bar"; table["foo"] = "bar2"; var actual = table.GetValue("foo"); Assert.AreEqual(expected, actual); }