Esempio n. 1
0
        public GitRepoRepositoryTest()
        {
            var efDatabase = new EntityFrameworkDatabase <GitRepo>();

            _database = efDatabase;

            _mockLogger    = new Mock <ILogger <GitRepoRepository> >();
            _sut           = new GitRepoRepository(efDatabase.dataContext, _mockLogger.Object);
            _entityFactory = new GitRepoFactory();
        }
Esempio n. 2
0
 public GitReposController(IGitRepoRepository repo)
 {
     this.repo = repo;
 }