getMockEndpoint("mock:result").expectedBodiesReceived("Hello World");
template.sendBodyAndHeader("file:target/gzip", "Hello World", Exchange.FILE_NAME, "hello.txt");
assertMockEndpointsSatisfied();
notify.matchesMockWaitTime();
File in = new File("target/gzip/hello.txt").getAbsoluteFile();
assertFalse("Should have been deleted " + in, in.exists());
File out = new File("target/gzip/out/hello.txt.gz").getAbsoluteFile();