THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
MockEndpoint resultEndpoint = context.resolveEndpoint("mock:foo"); resultEndpoint.expectedMessageCount(2); // send some messages ... // now lets assert that the mock:foo endpoint received a2 messagemessages resultEndpoint.assertIsSatisfied(); |
...