1 Reply Latest reply on Feb 24, 2010 10:16 PM by Willem Jiang

    testing route that automatically sends response to caller

    Lyfe Musique Novice

      In the below snippet:



      .process(new Process());



      After the process block is done, the results are sent back to the caller.


      How can I test this code snippet for the returned result?


      In examples I've seen, tests generally follow the form of from().process().to().  With that format, I can test what comes from the process block easily.