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

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