};
MockMailStore mockStore = new MockMailStore();
FilePersistentObjectRepository filePersistentObjectRepository = new FilePersistentObjectRepository();
filePersistentObjectRepository.setFileSystem(fs);
filePersistentObjectRepository.setLog(new SimpleLog("MockLog"));
DefaultConfigurationBuilder defaultConfiguration22 = new DefaultConfigurationBuilder();
defaultConfiguration22.addProperty("[@destinationURL]", "file://target/var/users");
filePersistentObjectRepository.configure(defaultConfiguration22);
filePersistentObjectRepository.init();
mockStore.add("OBJECT.users", filePersistentObjectRepository);
res.setStore(mockStore);
DefaultConfigurationBuilder configuration = new DefaultConfigurationBuilder("test");
configuration.addProperty("destination.[@URL]", "file://target/var/users");
res.setLog(new SimpleLog("MockLog"));
res.configure(configuration);
res.init();
return res;
}