@Test
public void downloadAFile() throws Exception {

    FileDownloader downloadTestFile = new FileDownloader(driver);
    driver.get("http://localhost:8081/downloadTest.html");
    WebElement downloadLink = driver.findElement(By.id("fileToDownload"));
    downloadTestFile.fileDownloader(downloadLink);
}