Setting multiple expectations when streamCaching is on

2017-11-10 Thread Minhtri Tran
Hello, I am currently having an issue with setting up multiple expectations in a test case when streamCaching is enabled and json marshalling is used. Every expectation except the first one fails. Here’s my test class: @RunWith(CamelSpringBootRunner.class) @SpringBootTest(classes = MyApplicati

Re: Setting multiple expectations when streamCaching is on

2017-11-15 Thread Minhtri Tran
kson or Camel data formats, or in some stream caching type >>> converter, etc. I haven't looked deeper or tried to run this test / >>> debug it etc. >>> >>> You can just add a .convertBodyTo(String.class) before your mock >>> endpoint and your test o