public GitRepoRepositoryTest() { var efDatabase = new EntityFrameworkDatabase <GitRepo>(); _database = efDatabase; _mockLogger = new Mock <ILogger <GitRepoRepository> >(); _sut = new GitRepoRepository(efDatabase.dataContext, _mockLogger.Object); _entityFactory = new GitRepoFactory(); }
public GitReposController(IGitRepoRepository repo) { this.repo = repo; }