DefaultController { @GetMapping("/") public Mono<Map> guestHome() { return Mono.just(Map.of("greet", "Welcome Guest")); }  @GetMapping("/") Mono<Map> guestHome(); @GetMapping("/login") Mono<Map> login();  }
@Test public void guestHome() { webTestClient .get() .uri("/") .exchange() .expectStatus().isOk() .expectBody().json("{\"greet\":\"Welcome Guest\"}"); }