@Test
public void testCopyDirectory() throws Exception {

	Path fromPath = getResourcePath("root");
	Path excludedPaths = getResourcePath("root/excluded");
	PathUtil.copyDirectory(fromPath, _toPath, excludedPaths);
	assertExists(_toPath, "directory1/file1.txt");
	assertExists(_toPath, "directory2/file2.txt");
	assertDoesNotExist(_toPath, "excluded/excluded.txt");
}