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

            var result = lotoManiaControllerTest.DownloadResultsFromSource();

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

            var result = lotoManiaControllerTest.DownloadResultsFromSource();

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