public void SetUp()
 {
     sportsStorage  = new Mock <ISportRepository>();
     teamsStorage   = new Mock <ITeamRepository>();
     matchesService = new Mock <IInnerEncounterService>();
     serviceToTest  = new SportTableService(sportsStorage.Object, teamsStorage.Object, matchesService.Object);
     SetUpSports();
     SetUpTeams();
 }
 public SportsController(ISportService sportRepo, ITeamService teamRepo,
                         IFixtureService fixtureService, ISportTableService tableGenerator,
                         IAuthenticationService authService, IImageService imageService)
 {
     sports        = sportRepo;
     fixture       = fixtureService;
     teams         = teamRepo;
     tableService  = tableGenerator;
     images        = imageService;
     authenticator = authService;
     errors        = new ErrorActionResultFactory(this);
 }