Re: Camel Unit Test EndpointInject versus getMockEndpoint

2013-01-31 Thread Claus Ibsen
On Thu, Jan 31, 2013 at 12:32 PM, Scott Cranton wrote: > In creating unit tests for my Camel routes, I've tried to be > consistent with the Camel project's conventions figuring those are the > best practices, or at least the most tested path. I've noticed that > the vast majority of Camel unit tes

Camel Unit Test EndpointInject versus getMockEndpoint

2013-01-31 Thread Scott Cranton
In creating unit tests for my Camel routes, I've tried to be consistent with the Camel project's conventions figuring those are the best practices, or at least the most tested path. I've noticed that the vast majority of Camel unit tests use the CamelTestSupport.getMockEndpoint(...) convenience met