public async Task Should_GetScoreboardAsync_ForValidInput()
        {
            //arrange
            int                       leagueId                 = 555555;
            int                       year                     = 2018;
            IHttpProvider             httpProvider             = A.Fake <IHttpProvider>();
            IUrlConfigurationProvider urlConfigurationProvider = A.Fake <IUrlConfigurationProvider>();
            IFantasyFootballService   fantasyFootballService   = new EspnApiFantasyFootballService(httpProvider, urlConfigurationProvider);

            //act
            LeagueScoreboard leagueScoreboard = await fantasyFootballService.GetScoreboardAsync(leagueId, year);

            //assert
            A.CallTo(() => urlConfigurationProvider.GetScoreboardEndpoint(leagueId, year)).MustHaveHappened();
            A.CallTo(() => httpProvider.GetAsync <LeagueScoreboard>(null)).WithAnyArguments().MustHaveHappened();
        }
        public async Task <LeagueScoreboard> GetScoreboardAsync(int leagueId, int year)
        {
            string url = _urlConfigurationProvider.GetScoreboardEndpoint(leagueId, year);

            return(await _httpProvider.GetAsync <LeagueScoreboard>(url));
        }