/// <summary> /// Tests for any parameter on a .Method continuation /// </summary> /// <param name="continuation"></param> /// <param name="parameterName"></param> /// <returns></returns> public static IMore <MethodInfo> Parameter( this ICanAddMatcher <MethodInfo> continuation, string parameterName ) { return(continuation.Parameter(parameterName, NULL_STRING)); }
/// <summary> /// Tests for any parameter on a .Method continuation /// </summary> /// <param name="continuation"></param> /// <param name="customMessageGenerator"></param> /// <returns></returns> public static IMore <MethodInfo> Parameter( this ICanAddMatcher <MethodInfo> continuation, Func <string> customMessageGenerator ) { return(continuation.Parameter( NULL_STRING, customMessageGenerator )); }
/// <summary> /// Tests for a parameter by name on a .Method continuation /// </summary> /// <param name="continuation"></param> /// <param name="parameterName"></param> /// <param name="customMessage"></param> /// <returns></returns> public static IMore <MethodInfo> Parameter( this ICanAddMatcher <MethodInfo> continuation, string parameterName, string customMessage ) { return(continuation.Parameter( parameterName, () => customMessage )); }
/// <summary> /// Tests for any parameter on a .Method continuation /// </summary> /// <param name="continuation"></param> /// <returns></returns> public static IMore <MethodInfo> Parameter( this ICanAddMatcher <MethodInfo> continuation ) { return(continuation.Parameter(NULL_STRING, NULL_GENERATOR)); }