anchor.diff:  NOTE: Reminder: If the `@RequestMapping` `method` attribute is not specified,
   all HTTP methods will be matched, not only the `GET` one.
   
  -
  -
   === Testing
   
   This section addresses testing with the combination of Kotlin and Spring Framework.
   The recommended testing framework is https://junit.org/junit5/[JUnit 5], as well as
   https://mockk.io/[Mockk] for mocking.
   
  -
   ==== Constructor injection
   
   As described in the <<testing#testcontext-junit-jupiter-di#spring-web-reactive, dedicated section>>,
   JUnit 5 allows constructor injection of beans which is pretty useful with Kotlin
  -in order to use `val` instead of `lateinit var`.
  -
  +in order to use `val` instead of `lateinit var`. You can use
  +{api-spring-framework}/test/context/TestConstructor.html[`@TestConstructor(autowire = true)`]
  +to enable autowiring for all parameters.
   
   ====
  -[source]
  +[source,kotlin,indent=0]
   ----
   @SpringJUnitConfig(TestConfig::class)
  -class OrderServiceIntegrationTests(@Autowired val orderService: OrderService,
  -                                   @Autowired val customerService: CustomerService) {
  +@TestConstructor(autowire = true)
  +class OrderServiceIntegrationTests(val orderService: OrderService,
  +                                   val customerService: CustomerService) {
   
       // tests that use the injected OrderService and CustomerService
   }
   ----
   ====
  -
  -You can also use `@Autowired` at constructor level to autowire all parameters.
  -
  -====
  -[source]
  -----
  -@SpringJUnitConfig(TestConfig::class)
  -class OrderServiceIntegrationTests @Autowired constructor(
  -        val orderService: OrderService,
  -        val customerService: CustomerService) {
  -
  -    // tests that use the injected OrderService and CustomerService
  -}
  -----
  -====
  -
   
   ==== `PER_CLASS` Lifecycle
   
  
positive.code: * Spring Framework
  ** https://github.com/spring-projects/spring-framework/issues/20606[Unable to use WebTestClient with mock server in Kotlin]
  ** https://github.com/spring-projects/spring-framework/issues/20496[Support null-safety at generics, varargs and array elements level]
  ** https://github.com/spring-projects/spring-framework/issues/19975[Add support for Kotlin coroutines]
  * Spring Boot
  ** https://github.com/spring-projects/spring-boot/issues/8762[Allow `@ConfigurationProperties` binding for immutable POJOs]
  ** https://github.com/spring-projects/spring-boot/issues/8115[Expose the functional bean registration API via `SpringApplication`]
  ** https://github.com/spring-projects/spring-boot/issues/10712[Add null-safety annotations on Spring Boot APIs]
  ** https://github.com/spring-projects/spring-boot/issues/9486[Use Kotlin's bom to provide dependency management for Kotlin]
  * Kotlin
  ** https://youtrack.jetbrains.com/issue/KT-6380[Parent issue for Spring Framework support]
  ** https://youtrack.jetbrains.com/issue/KT-5464[Kotlin requires type inference where Java doesn't]
  
negative.code: }
  ----
  
  ==== Specification-like Tests
  
  You can create specification-like tests with JUnit 5 and Kotlin.
  The following example shows how to do so:
  
  [source,kotlin,indent=0]
  ----
  class SpecificationLikeTests {
  
  