Exemple #1
0
        public RequestsServiceTest()
        {
            _uow        = Substitute.For <IUnitOfWork>();
            _repository = Substitute.For <IRequestRepository>();
            _mapper     = Substitute.For <IRequestsMapper>();

            _requestsService = new RequestsService(_uow, _repository, _mapper);
        }
 public RequestsMapperTest()
 {
     _mapper = new RequestsMapper();
 }
Exemple #3
0
 public RequestsService(IUnitOfWork uow, IRequestRepository repo, IRequestsMapper mapper) : base(uow)
 {
     _repo   = repo;
     _mapper = mapper;
 }