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: ----
  
  There are some examples of the Mock endpoint in use in the
  https://github.com/apache/camel/tree/main/core/camel-core/src/test/java/org/apache/camel/processor[`camel-core`
  processor tests].
  
  == Mocking existing endpoints
  