/// <summary>
 /// Includes the <paramref name="parameterName"/> for checks for <see cref="ArgumentNullException"/>. Overrides
 /// any parameter rules that may exclude the <paramref name="parameterName"/>.
 /// </summary>
 /// <param name="filter">The <see cref="Regex"/> filter.</param>
 /// <param name="parameterName">The parameter name.</param>
 /// <param name="type">The type.</param>
 /// <param name="methodName">The method name.</param>
 /// <returns>The <paramref name="filter"/>.</returns>
 /// <exception cref="ArgumentNullException">The <paramref name="filter"/> or <paramref name="parameterName"/>
 /// parameters are <see langword="null"/>.</exception>
 public static IRegexFilter IncludeParameter(
     this IRegexFilter filter,
     string parameterName,
     Type type,
     string methodName = null)
 {
     return(filter.IncludeParameter(parameterName, type != null ? type.FullName : null, methodName));
 }
        /// <summary>
        /// Includes the <paramref name="parameterName"/> for checks for <see cref="ArgumentNullException"/>. Overrides any parameter rules that may exclude the <paramref name="parameterName"/>.
        /// </summary>
        /// <param name="fixture">The fixture.</param>
        /// <param name="parameterName">The parameter name.</param>
        /// <param name="typeFullName">The <see cref="Type.FullName"/> of the <see cref="Type"/>.</param>
        /// <param name="methodName">The method name.</param>
        /// <returns>The <paramref name="fixture"/>.</returns>
        /// <exception cref="ArgumentNullException">The <paramref name="fixture"/> or <paramref name="parameterName"/>
        /// parameters are <see langword="null"/>.</exception>
        public static IArgumentNullExceptionFixture IncludeParameter(
            this IArgumentNullExceptionFixture fixture,
            string parameterName,
            string typeFullName = null,
            string methodName   = null)
        {
            if (fixture == null)
            {
                throw new ArgumentNullException(nameof(fixture));
            }
            if (string.IsNullOrWhiteSpace(parameterName))
            {
                throw new ArgumentNullException(nameof(parameterName));
            }

            IRegexFilter regexFilter = fixture.GetRegexFilter();

            regexFilter.IncludeParameter(parameterName, typeFullName, methodName);

            return(fixture);
        }