This projects shows how to use @WebTestClient
with Kotlin and a WebFlux server (annotation-based or functional):
See SPR-15692 branch
for an improved version that leverages expectBody
thanks to
SPR-15692 fix.
See also KT-23834 for the lack of suggestion
for expectBody
in IDEA.