public void Should_Avoid_Unnecessary_Object_Creation_If_Possible() { var a = new HeaderHash(new Hash { { "foo", "bar" } }); var b = HeaderHash.Create(a); Assert.AreEqual(b.GetHashCode(), a.GetHashCode()); Assert.AreEqual(a, b); }