public void DownloadFileByNameNegative(string fileName)
        {
            FileExampleController fileExampleController = new FileExampleController();
            ContentResult         actionResult          = (ContentResult)fileExampleController.DownloadFileByName(fileName);

            Assert.IsFalse(actionResult.Content.Contains(fileName));
        }
        public void DownloadFileByNamePositive(string fileName)
        {
            FileExampleController fileExampleController = new FileExampleController();
            FileContentResult     actionResult          = (FileContentResult)fileExampleController.DownloadFileByName(fileName);

            Assert.IsTrue(actionResult.FileDownloadName.Contains(fileName) && actionResult.FileContents.Length > 0);
        }