@Test(expected = IOException.class)
public void copyDirectoryFail() throws IOException {

    File dest = folder.newFolder();
    File tempFile = folder.newFile();
    Map<String, File> files = populateWithOneExisting(dest, tempFile);
    OutputWriterHelper.moveToDirectory(files, dest, ExistingOutputPolicy.FAIL, context);
}