/**
* Test for IO-141
*/
@Test @Ignore("Commons test case that is failing for plexus") public void copyDirectoryToGrandChild() throws Exception {
File grandParentDir=new File(folder.getRoot(),"grandparent");
File parentDir=new File(grandParentDir,"parent");
File childDir=new File(parentDir,"child");
createFilesForTestCopyDirectory(grandParentDir,parentDir,childDir);
long expectedCount=(FileUtils.getFileAndDirectoryNames(grandParentDir,null,null,true,true,true,true).size() * 2);
long expectedSize=(FileUtils.sizeOfDirectory(grandParentDir) * 2);
FileUtils.copyDirectory(grandParentDir,childDir);
assertThat(1L * FileUtils.getFileAndDirectoryNames(grandParentDir,null,null,true,true,true,true).size(),is(expectedCount));
assertThat(FileUtils.sizeOfDirectory(grandParentDir),is(expectedSize));
}