GetHashCode() public method

public GetHashCode ( ) : int
return int
        public void GetHashCode_ReturnsSameValue_ForEquivalentObjects()
        {
            var first = new ExactMethodMatcher("Method 1", new[] { "Parameter 1", "Parameter 2" });
            var second = new ExactMethodMatcher("Method 1", new[] { "Parameter 1", "Parameter 2" });

            Assert.AreEqual(first.GetHashCode(), second.GetHashCode());
        }