@Test
public void testDownloadRemoteFile() throws IOException {

  String remoteUri = "hdfs:///tmp/remoteFile";
  fileUtils.createFileInDir(stagingDir, remoteUri);
  String resultFilePath = fileSystemOperations.download(remoteUri,
      TARGET_ZIP_FILE);
  File resultFile = new File(resultFilePath);
  assertTrue(resultFile.exists());
  assertEquals(TARGET_ZIP_FILE, resultFile.getName());
}