@Test(expected = BuilderException.class)
public void testCopyFilesError() throws Exception {

    final File sourceDir = getFile("src", "test", "resources", "javadoc", "index.html");
    final String fakeRoot = FilenameUtils.concat(temporaryFolder.getRoot().getPath(), "Foo");
    copyFiles(sourceDir, fakeRoot);
}