String mboxPath = "mbox://"+fInbox.toURI().toString().substring(new File("").toURI().toString().length());
defaultConfiguration.addProperty("[@destinationURL]",mboxPath);
defaultConfiguration.addProperty("[@type]","MAIL");
mr.setLog(new SimpleLog("MockLog"));;
mr.configure(defaultConfiguration);
return mr;
}
// Try to write a unit test for JAMES-744. At the moment it seems that we cannot reproduce it.