anchor.diff:  
   IMPORTANT: This approach only works for JVM tests. It cannot be used for native tests (because they do not support injection).
   
  -First, add the following dependency to your application:
  +Let's say we want to test the following processor application:
  +
  +[source, java]
  +----
  +@ApplicationScoped
  +public class BeverageProcessor {
  +
  +    @Incoming("orders")
  +    @Outgoing("beverages")
  +    Beverage process(Order order) {
  +        System.out.println("Order received " + order.getProduct());
  +        Beverage beverage = new Beverage();
  +        beverage.setBeverage(order.getProduct());
  +        beverage.setCustomer(order.getCustomer());
  +        beverage.setOrderId(order.getOrderId());
  +        beverage.setPreparationState("RECEIVED");
  +        return beverage;
  +    }
  +
  +}
  +----
  +
  +First, add the following test dependency to your application:
   
   [source, xml]
   ----
  
positive.code:     @Override
      public Map<String, String> start() {
          Map<String, String> env = new HashMap<>();
          Map<String, String> props1 = InMemoryConnector.switchIncomingChannelsToInMemory("orders");  // <1>
          Map<String, String> props2 = InMemoryConnector.switchOutgoingChannelsToInMemory("queue");   // <2>
          env.putAll(props1);
          env.putAll(props2);
          return env;  // <3>
  
negative.code: ----
  <1> Inject the in-memory connector in your test class.
  <2> Retrieve the incoming channel (`orders`) - the channel must have been switched to in-memory in the test resource.
  <3> Retrieve the outgoing channel (`beverages`) - the channel must have been switched to in-memory in the test resource.
  <4> Use the `send` method to send a message to the `orders` channel.
  The application will process this message and send a message to `beverages` channel.
  <5> Use the `received` method on `beverages` channel to check the messages produced by the application.
  
  [IMPORTANT]
  ====
  With in-memory channels we were able to test application code processing messages without starting a Kafka broker.
  Note that different in-memory channels are independent, and switching channel connector to in-memory does not simulate message delivery between channels configured to the same Kafka topic.
  ====
  
  === Starting Kafka in a test resource
  
  