Add testing support for WebMvc.fn

This commit introduces testing support for WebMvc.fn in the form of a
RouterFunctionMockMvcBuilder and RouterFunctionMockMvcSpec.

Closes gh-30477
This commit is contained in:
Arjen Poutsma
2023-11-27 11:13:36 +01:00
committed by Arjen Poutsma
parent d708343a05
commit 8f3b7484e2
9 changed files with 875 additions and 24 deletions

View File

@@ -125,7 +125,7 @@ public class RouterFunctionMapping extends AbstractHandlerMapping implements Ini
@Override
public void afterPropertiesSet() throws Exception {
public void afterPropertiesSet() {
if (this.routerFunction == null) {
initRouterFunctions();
}