public async Task TestGetLeague(int id) { FootballFacadeService facade = new FootballFacadeService(); var league = await facade.GetLeague(id); Assert.True(league.Standing.Any(), "Deveria retornar times"); }
public LeagueTableService( IMapper mapper, FootballFacadeService footballFacadeService ) { this.Mapper = mapper; this.FootballFacadeService = footballFacadeService; }
public async Task TestGetCompetitions() { FootballFacadeService facade = new FootballFacadeService(); var competitions = await facade.GetCompetitions(); Assert.True(competitions.Any(), "Deveria retornar competições"); }
public CompetitionService( IMapper mapper, FootballFacadeService footballFacadeService ) { this.Mapper = mapper; this.FootballFacadeService = footballFacadeService; }