public void testClone_changingEntrySet() {
   ArrayMap<String, String> map = ArrayMap.of();
   assertEquals("{}", map.toString());
   ArrayMap<String, String> clone = map.clone();
   clone.add("foo", "bar");
   assertEquals("{foo=bar}", clone.toString());
 }
 public void testOf_two() {
   ArrayMap<String, Integer> map = ArrayMap.of("a", 1, "b", 2);
   assertEquals(2, map.size());
   assertEquals("a", map.getKey(0));
   assertEquals((Integer) 1, map.getValue(0));
   assertEquals("b", map.getKey(1));
   assertEquals((Integer) 2, map.getValue(1));
 }
 public void testRemove4() {
   ArrayMap<String, Integer> map = ArrayMap.of("a", 1, "b", 2, "c", 3);
   map.remove("b");
   assertEquals(ArrayMap.of("a", 1, "c", 3), map);
 }
 public void testRemove3() {
   ArrayMap<String, Integer> map = ArrayMap.of("a", 1);
   map.remove("a");
   assertEquals(ArrayMap.of(), map);
 }
 public void testOf_one() {
   ArrayMap<String, Integer> map = ArrayMap.of("a", 1);
   assertEquals(1, map.size());
   assertEquals("a", map.getKey(0));
   assertEquals((Integer) 1, map.getValue(0));
 }
 public void testOf_zero() {
   ArrayMap<String, Integer> map = ArrayMap.of();
   assertTrue(map.isEmpty());
 }