예제 #1
0
        public GameRepositoryTests(FixtureDI fixture)
        {
            var serviceProvider = fixture.ServiceProvider;

            _gameRepository = serviceProvider.GetService <IRepository <Game> >();
        }
예제 #2
0
        public GameServiceTests(FixtureDI fixture)
        {
            var serviceProvider = fixture.ServiceProvider;

            _gameService = serviceProvider.GetService <IGameService>();
        }