mock.assertIsSatisfied();
// now change content in the file in the classpath and try again
template.sendBodyAndHeader("file://target/test-classes/org/apache/camel/component/stringtemplate?append=false", "Bye $headers.name$", FileComponent.HEADER_FILE_NAME, "hello.tm");
mock.reset();
// we must expected the original filecontent as the cache is enabled, so its Hello and not Bye
mock.expectedBodiesReceived("Hello Paris");
template.sendBodyAndHeader("direct:b", "Body", "name", "Paris");
mock.assertIsSatisfied();