@Test
public void testDownload() throws Exception {

    // Dummy download
    myFileSystem.downloadFile(Paths.get(""), Paths.get(configuration.getDataFileLocation()), 2);
    // Verify the success metric for download is incremented.
    Assert.assertEquals(1, (int) backupMetrics.getValidDownloads().actualCount());
}