public async Task Should_GetNflPlayerNameForId_ForValidInput() { //arrange int playerId = 13295; EspnFantasyFootballClient espnFantasyFootballClient = new EspnFantasyFootballClient(); //act string playerName = await espnFantasyFootballClient.GetNflPlayerNameForId(playerId); //assert playerName.Should().NotBeNull(); }
public async Task Should_GetRecentActivityAsync_ForValidInput() { //arrange int leagueId = 526113; int year = 2018; EspnFantasyFootballClient espnFantasyFootballClient = new EspnFantasyFootballClient(); //act RecentActivity recentActivity = await espnFantasyFootballClient.GetRecentActivity(leagueId, year); //assert recentActivity.Should().NotBeNull(); }
public async Task Should_GetScoreboardAsync_ForValidInput() { //arrange int leagueId = 526113; int year = 2018; EspnFantasyFootballClient espnFantasyFootballClient = new EspnFantasyFootballClient(); //act LeagueScoreboard leagueScoreboard = await espnFantasyFootballClient.GetScoreboardAsync(leagueId, year); //assert leagueScoreboard.Should().NotBeNull(); }