diff --git a/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResultAssert.java b/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResultAssert.java index a75c2dc539c7..810d4a8d2ebe 100644 --- a/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResultAssert.java +++ b/spring-test/src/main/java/org/springframework/test/web/servlet/assertj/MvcTestResultAssert.java @@ -109,7 +109,7 @@ public ModelAssert model() { /** * Verify that a {@link ModelAndView} is available and return a new * {@linkplain AbstractStringAssert assertion} object that uses the - * {@linkplain ModelAndView#getViewName()} view name} as the object to test. + * {@linkplain ModelAndView#getViewName() view name} as the object to test. * @see #hasViewName(String) */ public AbstractStringAssert viewName() {