anchor.diff:  == Adding expectations to specific messages
   
   In addition, you can use the
  -http://javadoc.io/doc/org.apache.camel/camel-mock/latest/org/apache/camel/component/mock/MockEndpoint.html#message-int-[`message(int
  +https://javadoc.io/doc/org.apache.camel/camel-mock/latest/org/apache/camel/component/mock/MockEndpoint.html[`message(int
   messageIndex)`] method to add assertions about a specific message that is
   received.
   
  
positive.code: *{component-header}*
  
  Testing of distributed and asynchronous processing is
  notoriously difficult. The xref:mock-component.adoc[Mock], xref:mock-component.adoc[Test]
  and xref:dataset-component.adoc[DataSet] endpoints work great with the
  Camel Testing Framework to simplify your unit and
  integration testing using
  
negative.code: * Messages arrive match some kind of Predicate such
  as that specific headers have certain values, or that parts of the
  messages match some predicate, such as by evaluating an
  xref:languages:xpath-language.adoc[XPath] or xref:languages:xquery-language.adoc[XQuery]
  Expression.
  
  [NOTE]
  