From 6712d68ae79a0b3662f06b8381b1265f155ab494 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger | alu-one Date: Tue, 10 May 2022 06:41:59 +0200 Subject: [PATCH] Fix xml summary to fit the actual expected behavior --- Src/FluentAssertions/EventRaisingExtensions.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Src/FluentAssertions/EventRaisingExtensions.cs b/Src/FluentAssertions/EventRaisingExtensions.cs index fdd6ee335e..61bff30c47 100644 --- a/Src/FluentAssertions/EventRaisingExtensions.cs +++ b/Src/FluentAssertions/EventRaisingExtensions.cs @@ -53,8 +53,9 @@ public static IEventRecording WithSender(this IEventRecording eventRecording, ob } /// - /// 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 which matched the given predicate. + /// Returns only the events that matched both type and optionally a predicate. /// public static IEventRecording WithArgs(this IEventRecording eventRecording, Expression> predicate) { @@ -86,8 +87,9 @@ public static IEventRecording WithArgs(this IEventRecording eventRecording, E } /// - /// 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 which matched the predicates in the same order. + /// Returns only the events that matched both type and optionally predicates. /// /// /// If a null is provided as predicate argument, the corresponding event parameter value is ignored.