@Test
public void createDirectoryManagerString() throws IOException {

	Path path = Paths.get(System.getProperty("user.dir"));
	DirectoryManager dm = DirectoryManagerFactory.createDirectoryManager(
			System.getProperty("user.dir"), true);
	assertTrue(dm instanceof DirectoryManagerImpl);
	DirectoryManagerImpl dmi = (DirectoryManagerImpl) dm;
	assertTrue(dmi.readOnly);
	assertEquals(path, dmi.directory);
}