> You could write the test for yourself:
> expects(new Runnable(){
> ...
> });
>
> Or use allMessages() ...
>
>
> Jan
>
>
>> -Ursprüngliche Nachricht-
>> Von: Minh Tran [mailto:darth.minhs...@gmail.com]
>> Gesendet: Freitag, 4. Juli
4 04:00
> An: users@camel.apache.org
> Betreff: MockEndPoint expected methods clashing
>
> Hi
>
> Im calling setExpectedMessageCount and expectedBodiesReceived like
> this and seeing odd behaviour
>
> endpoint.setExpectedMessageCount(2);
> endpoint.setExpected
Hi
I’m calling setExpectedMessageCount and expectedBodiesReceived like this and
seeing odd behaviour
endpoint.setExpectedMessageCount(2);
endpoint.setExpectedBodies(“hello”);
I would expect that it will attempt to find 2 messages with both bodies
containing “hello”. Instead it appears as thoug