anchor.diff:  	class MyTests {
   
   		@Autowired
  -		private WebApplicationContext wac; // <2>
  +		WebApplicationContext wac; // <2>
   
   		WebTestClient client;
   
  
positive.code: This setup allows you to test specific controller(s) via mock request and response objects,
  without a running server.
  
  For WebFlux applications, use the below which loads infrastructure equivalent to the
  <<web-reactive.adoc#webflux-config, WebFlux Java config>>, registers the given
  controller(s), and creates a <<web-reactive.adoc#webflux-web-handler-api, WebHandler chain>>
  to handle requests with:
  
  [source,java,indent=0,subs="verbatim,quotes",role="primary"]
  .Java
  
negative.code: [[webtestclient-fn-config]]
  === Bind to Router Function
  
  This setup allows you to test <<web-reactive.adoc#webflux-fn, functional endpoints>> via
  mock request and response objects, without a running server.
  
  For WebFlux, use the following which delegates to `RouterFunctions.toWebHandler` to
  create a server setup to handle requests:
  
  [source,java,indent=0,subs="verbatim,quotes",role="primary"]
  .Java
  