template.sendBodyAndHeader(getFtpUrl(), "b2", Exchange.FILE_NAME, "bar/b.txt");
assertMockEndpointsSatisfied();
// reset mock and send in a new file to be picked up only
mock.reset();
mock.expectedBodiesReceived("c2");
template.sendBodyAndHeader(getFtpUrl(), "c2", Exchange.FILE_NAME, "c.txt");
assertMockEndpointsSatisfied();