anchor.diff:  	)
   ----
   
  -NOTE: As of Spring Framework 4.3, classes with a single constructor have their parameters
  -automatically autowired, that's why there is no need for an explicit `@Autowired constructor`
  -in the example shown above.
  +NOTE: Classes with a single constructor have their parameters automatically autowired,
  +that's why there is no need for an explicit `@Autowired constructor` in the example shown
  +above.
   
   If you really need to use field injection, you can use the `lateinit var` construct,
   as the following example shows:
  
positive.code: 
  The following example demonstrates `@BeforeAll` and `@AfterAll` annotations on non-static methods:
  
  [source]
  ----
  class IntegrationTests {
  
    val application = Application(8181)
  
negative.code: 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`. You can use
  {api-spring-framework}/test/context/TestConstructor.html[`@TestConstructor(autowire = true)`]
  to enable autowiring for all parameters.
  
  ====
  [source,kotlin,indent=0]
  ----
  @SpringJUnitConfig(TestConfig::class)
  @TestConstructor(autowire = true)
  class OrderServiceIntegrationTests(val orderService: OrderService,
                                     val customerService: CustomerService) {
  
      // tests that use the injected OrderService and CustomerService
  }
  ----
  ====
  
  ==== `PER_CLASS` Lifecycle
  
  