public void GetHashCode_WithEqualObject_EqualHashes(string code) { var x = new DZPostalCode(code); var y = new DZPostalCode(code); Assert.IsTrue(x.GetHashCode() == y.GetHashCode()); }