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