Skip to content

Commit

Permalink
Fix xml summary to fit the actual expected behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
ITaluone committed May 13, 2022
1 parent 393070c commit 4827be8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Src/FluentAssertions/EventRaisingExtensions.cs
Expand Up @@ -53,8 +53,9 @@ public static IEventRecording WithSender(this IEventRecording eventRecording, ob
}

/// <summary>
/// Asserts that at least one occurrence of the events had at least one of the arguments matching a predicate. Returns
/// only the events that matched that predicate.
/// Asserts that at least one occurence of the events had one or more arguments of the expected type <typeparamref name="T"/>
/// any of which matched a predicate. Returns
/// only the events that matched both type and predicate.
/// </summary>
public static IEventRecording WithArgs<T>(this IEventRecording eventRecording, Expression<Func<T, bool>> predicate)
{
Expand Down Expand Up @@ -86,8 +87,9 @@ public static IEventRecording WithArgs<T>(this IEventRecording eventRecording, E
}

/// <summary>
/// Asserts that at least one of the occurred events has arguments the match the predicates in the same order. Returns
/// only the events that matched those predicates.
/// Asserts that at least one occurence of the events had one or more arguments of the expected type <typeparamref name="T"/>
/// which matched the predicates in the same order. Returns
/// only the events that matched both type and predicates.
/// </summary>
/// <remarks>
/// If a <c>null</c> is provided as predicate argument, the corresponding event parameter value is ignored.
Expand Down

0 comments on commit 4827be8

Please sign in to comment.