public FormResponseService(IFormResponseRepository repository)
 {
     _repository = repository;
 }
Exemple #2
0
 public FormResponseServiceTest()
 {
     _repository = Substitute.For <IFormResponseRepository>();
     _service    = new FormResponseService(_repository);
 }
 public FormResponseRepositoryTest()
 {
     _dbContext  = new DbContextCore();
     _repository = new FormResponseRepository(_dbContext);
     _unitOfWork = new UnitOfWork(_dbContext);
 }