public void TestAddEntries() { String_StringMapEntry item1 = new String_StringMapEntry(); item1.key = "key5"; item1.value = "value5"; String_StringMapEntry item2 = new String_StringMapEntry(); item2.key = "key6"; item2.value = "value6"; mapUtils.AddEntries(new String_StringMapEntry[] { item1, item2 }); String_StringMapEntry[] entries = mapUtils.AsArray(); Assert.AreEqual(2, entries.Length); Assert.AreEqual(entries[0].key, item1.key); Assert.AreEqual(entries[0].value, item1.value); Assert.AreEqual(entries[1].key, item2.key); Assert.AreEqual(entries[1].value, item2.value); }