public void testTroubleDeletingFile() throws Exception {
deleteCounter = 0;
existsCounter = 0;
GenericFileEndpoint endpoint = context.getEndpoint("file://target/foo", GenericFileEndpoint.class);
Exchange exchange = endpoint.createExchange();
GenericFile file = new GenericFile();
file.setAbsoluteFilePath("target/foo/me.txt");
GenericFileDeleteProcessStrategy strategy = new GenericFileDeleteProcessStrategy();