HomeFolderProviderSynchronizer extends AbstractLifecycleBean { public void setKeepEmptyParents(String keepEmptyParents) { this.keepEmptyParents = "true".equalsIgnoreCase(keepEmptyParents); } HomeFolderProviderSynchronizer(
            TransactionService transactionService,
            AuthorityService authorityService, PersonService personService,
            FileFolderService fileFolderService, NodeService nodeService,
            PortableHomeFolderManager homeFolderManager,
            TenantAdminService tenantAdminService); void setEnabled(String enabled); void setOverrideHomeFolderProviderName(String overrideHomeFolderProviderName); void setKeepEmptyParents(String keepEmptyParents);  }
@Test public void testUseFirstAvailableTemporaryFolder() throws Exception { createUser("", "fr"); createUser("", "fred"); createFolder("Temporary1"); createFolder("Temporary2"); createFolder("Temporary3"); homeFolderProviderSynchronizer.setKeepEmptyParents("true"); moveUserHomeFolders(); assertTrue("The existing Temporary1 folder should still exist", exists("Temporary1")); assertTrue("The existing Temporary2 folder should still exist", exists("Temporary2")); assertTrue("The existing Temporary3 folder should still exist", exists("Temporary3")); assertTrue("The existing Temporary4 folder should still exist", exists("Temporary4")); }