public GameServiceTest() { _dataContextConnection = A.Fake <IDataContextConnection>(); _reminderService = A.Fake <IReminderService>(); _teamApi = A.Fake <ITeamApi>(); _competitionApi = A.Fake <ICompetitionApi>(); _matchApi = A.Fake <IMatchApi>(); }
public MatchService(IMatchApi matchApi) { this.matchApi = matchApi ?? RestService.For <IMatchApi>(Settings.BaseSportRadarEndPoint); }