diff --git a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java index 27ac3976693..2ac8ceae0eb 100644 --- a/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java +++ b/spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java @@ -833,7 +833,7 @@ public interface WebTestClient { T value(Function bodyMapper, Matcher matcher); /** - * Assert the extracted body with a {@link Matcher}. + * Assert the extracted body with a {@link Consumer}. * @since 5.1 */ T value(Consumer consumer);