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

            var result = lotecaControllerTest.DownloadResultsFromSource();

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

            var result = lotecaControllerTest.DownloadResultsFromSource();

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