示例#1
0
        public void ObjectPropertyOrderDoesNotMatter()
        {
            CosmosObject cosmosObject         = (CosmosObject)Elements.ObjectWithItems;
            CosmosObject cosmosObjectReversed = CosmosObject.Create(cosmosObject.Reverse().ToList());

            Assert.AreEqual(cosmosObject, cosmosObjectReversed);
            Assert.AreEqual(cosmosObject.GetHashCode(), cosmosObjectReversed.GetHashCode());
        }