Re: help unit testing route

2012-05-09 Thread Claus Ibsen
                           .to("bean:exceptionHandle"); > > Does camel test provide a way to mock the DSL steps? Something like... > > when(from("aws-sqs://queuetest")).thenReturn(new Pojo()) > when(to("bean:springbean")).thenReturn("choice 2"

help unit testing route

2012-05-09 Thread ecimionatto
ot;); Does camel test provide a way to mock the DSL steps? Something like... when(from("aws-sqs://queuetest")).thenReturn(new Pojo()) when(to("bean:springbean")).thenReturn("choice 2") Thanks, Edson -- View this message in context: http://camel.465427.n5.nabble.com/help-unit-testing-route-tp5698480.html Sent from the Camel - Users mailing list archive at Nabble.com.