Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Mock component provides a powerful declarative testing mechanism which is similar to jMock in that it allows declarative expectations to be created on any Camel Endpoint Mock endpoint before a test begins. Then the test is ran which typically fires messages to one or more endpoints and finally the expectations can be asserted in a test case to ensure the system worked as expected.

...