What is returning 1 or 2. The assertIsSatisfied are void methods.
On Thu, Dec 15, 2016 at 11:54 AM, sa_james <sa_remin...@hotmail.com> wrote: > I have been writing some unit tests using notifybuilder but I am still > struggling with some behaviors that I cannot explain. For instance: > mock.expectedMessageCount(1) > NotifyBuilder(context).whenDoneSatisfied(mock).create() > > ... later > > *mock.assertIsSatisfied(1000)* > would return sometimes *1*, sometimes *2* even though a single message > has been sent to that endpoint. > > Whats is going on here? > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/NotifyBuilder-whenDoneSatisfied-mock-tp5791486.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2