コード例 #1
0
        public void CanConstruct()
        {
            var instance = new DevelopersRepository(_readRepository);

            Assert.NotNull(instance);
        }
コード例 #2
0
 public SectionsController(BaseControllerContext context, GamesRepository gamesRepository,
                           DevelopersRepository developersRepository) : base(context)
 {
     _gamesRepository      = gamesRepository;
     _developersRepository = developersRepository;
 }
コード例 #3
0
 public DevelopersRepositoryTests()
 {
     _readRepository = new Mock <IProviderReadRepository <DeveloperModel> >().Object;
     _sut            = new DevelopersRepository(_readRepository);
 }
コード例 #4
0
 public DevelopersSearchProvider(ILogger <DevelopersSearchProvider> logger,
                                 DevelopersRepository developersRepository, ISearcher searcher = null) :
     base(logger, searcher)
 {
     _developersRepository = developersRepository;
 }