anchor.diff:  link:../../../components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java[example
   using Java Config with `CamelSpringJUnit4ClassRunner`]:
   
  +Since *Camel 2.18.0* `CamelSpringJUnit4ClassRunner` is deprecated. you can use the `CamelSpringRunner`
  +
   [source,java]
   ----
   include::../../../components/camel-spring-javaconfig/src/test/java/org/apache/camel/spring/javaconfig/test/CamelSpringDelegatingTestContextLoaderTest.java[tags=example]
  
positive.code: for more advanced test cases, where you need to configure your system under
  test in a very fine-grained way or target specific CDI containers.
  
  |link:spring-testing.html[Spring Testing] |camel-test-spring |Supports
  JUnit 3.x (deprecated) or JUnit 4.x based tests that bootstrap a test
  environment using Spring without needing to be familiar with Spring
  Test. The  plain JUnit 3.x/4.x based tests work very similar to the
  
negative.code: Spring Test with XML Config Example
  +++++++++++++++++++++++++++++++++++
  
  Here is the link:spring-testing.adoc[Spring Testing]
  link:../../../components/camel-spring/src/test/java/org/apache/camel/spring/patterns/FilterTest.java[example
  using XML Config]:
  
  