public GameRepositoryTests(FixtureDI fixture) { var serviceProvider = fixture.ServiceProvider; _gameRepository = serviceProvider.GetService <IRepository <Game> >(); }
public GameServiceTests(FixtureDI fixture) { var serviceProvider = fixture.ServiceProvider; _gameService = serviceProvider.GetService <IGameService>(); }