assertEquals("Expected consistent hash code for empty StackedHashMap.", emptyHashCode, map.hashCode());
}
public void testEquals() {
map.putAll(this.source);
StackedMap map2 = new StackedMap(this.source);
assertEquals("Expected StackedMap(source) consistent hashCode", map.hashCode(), map.hashCode());
assertTrue("Expected StackedMap(source) to create equals() instances (1/2).", map.equals(map2));
assertTrue("Expected StackedMap(source) to create equals() instances (2/2).", map2.equals(map));
assertFalse("Map is not a String", map.equals("othermap"));
}