You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Mock Component

The mock: component provides a powerful declarative testing mechanism which is similar to jMock in that it allows declarative expectations to be created on an endpoint up front, then a route used, then the expectations can be asserted in a test case to ensure the routing rules and processors worked as expected.

URI format

mock:someName

Where someName can be any string to uniquely identify the endpoint

  • No labels