public void TestParameterHashGenerator_SameTypeShouldGiveIdenticalHash() { object source1 = new { Id = 42 }; SourceInfo sample1 = SourceInfo.CreateFromType(source1.GetType()); object source2 = new { Id = 5 }; SourceInfo sample2 = SourceInfo.CreateFromType(source2.GetType()); Assert.AreEqual(sample1.GetHashCode(), sample2.GetHashCode()); }