public void TestAddKeyValue() { mapUtils.Add("key1", "value1"); mapUtils.Add("key2", "value2"); String_StringMapEntry[] entries = mapUtils.AsArray(); Assert.AreEqual(2, entries.Length); Assert.AreEqual(entries[0].key, "key1"); Assert.AreEqual(entries[0].value, "value1"); Assert.AreEqual(entries[1].key, "key2"); Assert.AreEqual(entries[1].value, "value2"); }