public void DownloadResultsFromSource_ThrowsException_Test()
        {
            mockLotteryService.Setup(s => s.Load("Federal")).Throws <EntryPointNotFoundException>();
            federalControllerTest = new FederalController(mockwebService.Object, mockRepo.Object, mockLog.Object, mockLotteryService.Object);

            var result = federalControllerTest.DownloadResultsFromSource();

            Assert.IsType <NotFoundObjectResult>(result.Result);
        }
        public void DownloadResultsFromSource_Test()
        {
            mockLotteryService.SetReturnsDefault(listOfLottery);
            federalControllerTest = new FederalController(mockwebService.Object, mockRepo.Object, mockLog.Object, mockLotteryService.Object);

            var result = federalControllerTest.DownloadResultsFromSource();

            Assert.IsType <OkObjectResult>(result.Result);
        }