public void GetHashCode_WhenMethodNameDiffers_ReturnsDifferentHashCode() { var otherException = new MethodCheckMissingException(otherMethodName, paramName); sut.GetHashCode().Should().NotBe(otherException.GetHashCode()); }
public void GetHashCode_WhenSameMethodNameAndParamName_ReturnsSameHashCode() { var otherException = new MethodCheckMissingException(methodName, paramName); sut.GetHashCode().Should().Be(otherException.GetHashCode()); }