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: 
      @Test
      void testProcessOrder() {
          InMemorySource<Order> ordersIn = connector.source("orders");     // <2>
          InMemorySink<Beverage> beveragesOut = connector.sink("beverages");  // <3>
  
          Order order = new Order();
          order.setProduct("coffee");
          order.setName("Coffee lover");
          order.setOrderId("1234");
  
          ordersIn.send(order);  // <4>
  
          await().<List<? extends Message<Beverage>>>until(beveragesOut::received, t -> t.size() == 1); // <5>
  
          Beverage queuedBeverage = beveragesOut.received().get(0).getPayload();
          Assertions.assertEquals(Beverage.State.READY, queuedBeverage.getPreparationState());
          Assertions.assertEquals("coffee", queuedBeverage.getBeverage());
          Assertions.assertEquals("Coffee lover", queuedBeverage.getCustomer());
  