@Test
public void testNotEnabled() throws Exception
{

    createUser("", "fred");
    homeFolderProviderSynchronizer.setEnabled("false");
    
    moveUserHomeFolders();
    // If performed, the home folder will have been moved to fr/fred
    // We must force the creation of the home folder as it will not
    // have been done
    personService.getPerson("fred");
    assertHomeFolderLocation("fred", "fred");
}