public void HashCodeBasedOnValue() { Dictionary <int, string> d = new Dictionary <int, string>(); d[1] = "a"; d[2] = "b"; IPersistentMap m1 = PersistentArrayMap.create(d); d[3] = "c"; IPersistentMap m2 = PersistentArrayMap.create(d); Expect(m1.GetHashCode(), Not.EqualTo(m2.GetHashCode())); }